View previous topic :: View next topic |
Author |
Message |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jul 09, 2005 10:07 pm Post subject: Output source code not parsed code |
|
|
How do I output the source code of a php file? I tried using .txt file ending but it refused to work if it had html elements in it. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Sat Jul 09, 2005 10:11 pm Post subject: Re: Output source code not parsed code |
|
|
The Inquisitor wrote: | How do I output the source code of a php file? I tried using .txt file ending but it refused to work if it had html elements in it. |
I was actually wondering the same thing myself... |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Jul 09, 2005 10:12 pm Post subject: Re: Output source code not parsed code |
|
|
The Inquisitor wrote: | How do I output the source code of a php file? I tried using .txt file ending but it refused to work if it had html elements in it. |
On a question slightly related to this, how would I set up .phps to work in abyss?
Is it specific to the apache module or can it be done with a cgi command line arg? (E.G. php-cgi.exe -source)
As to the inquisitor -> Saving it as a txt should work fine, if not, your mime types are screwed :S _________________
 |
|
Back to top |
 |
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jul 09, 2005 10:15 pm Post subject: |
|
|
Just add .phps to the php interpreter i suppose.
I havent touched my mime types. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Jul 09, 2005 10:21 pm Post subject: |
|
|
The Inquisitor wrote: | Just add .phps to the php interpreter i suppose.
I havent touched my mime types. |
.phps, if enabled in apache, shows the source of the file (Supposedly php) with syntax highlighting, could be usefull to have. _________________
 |
|
Back to top |
 |
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Jul 10, 2005 9:51 am Post subject: |
|
|
That would be very usful. It makes it easier to find certain parts of the script for a start. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Jul 10, 2005 3:28 pm Post subject: |
|
|
Thanks, Ill give it a go. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
|