Marek Kilimajer wrote:
Anders Gjermshus wrote:

Is it possible to get IIS 6 to show php sources. ( phps files )
>
Is it possible to set a custom 404 handler in IIS? Than you can set it to a php page, in the php page parse the request URI and highlight_file().

Good catch; never thought of that. It is possible to have a custom 404, although REQUEST_URI isn't created. You end up with a $_SERVER['QUERY_STRING'] value of "404;http://coconut/nosuchfile.php";, though, which you could parse for the original file name.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to