Hello David,

Friday, February 22, 2002, 12:28:35 AM, you textually orated:

DT> Microsoft's browsers, last I checked, will even ignore .txt extensions
DT> and try to render a page that looks like it contains markup, which
DT> really pisses me off when I'm trying to make raw PHP code available
DT> for web viewing.

Use the .phps extension to show off your PHP code. If your apache/php are
properly configured it will even do a lovely job of source highlighting. I
use it all the time.

I have this in my httpd.conf (just in case you don't already).

  AddType application/x-httpd-php3-source .phps

PHP will parse these and add the highlighting.


Have fun,
-- 
_________________________________________________________________
 Brian Ashe                     CTO
 [EMAIL PROTECTED]              Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-----------------------------------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to