I just thought of this good tip:
To show the highlighted php source without constanly renaming your scripts
you can add the the following to your httpd.conf :
Alias /src /your/document/root
<LocationMatch /src/*>
ForceType application/x-httpd-php-source
</LocationMatch>
Now, for example to show the source of
http://localhost/index.phtml
you can use
http://localhost/src/index.phtml
bvr.
On Mon, 28 Jan 2002 08:27:05 -0400, Miles Thompson wrote:
>A goog first step is to rename the page with a .phps extension and display
>it in the browser. The coloring of the text often gives you an idea where
>PHP got turned off or something critical was commented out.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]