Sorry if this doesn't actually need a new thread as a quick search didn't really find anything, but what do I need to do to get .phps files working. (ie. display the highlighted source)
.phps Files
Collapse
X
-
Its a value that needs to be added/changed in the httpd.conf file.
I'd submit a TT seeing if Dathorn would be willing to add this since
they are the only ones with access to that system file. Another
option is to use this function if they won't add the nessary changes to enable .PHPS files."How can someone be so distracted yet so focused?"
- C -
There is also another option too.
Add this line of code to the top of any document you want to allow people to see the source for:
PHP Code:if($_GET['source']) { show_source(__FILE__); }
David-----
Do you fear the obsolescence of the metanarrative apparatus of legitimation?Comment
-
I was just trying to get this to work. I saw that in cpanel you can add a custom handler so I added .phps and application/x-httpd-php-source to the cpanel.
Now after this I would expect to need to restart apache, but I couldn't find a way to do that by hand. I'm not sure, maybe it does it on it's own, but it still won't handle the phps files.
Before I go about other options is there a reason that the addHandler won't work?
ThanksComment
Comment