RE: [PHP] suggestions on work-arounds to highlight_file() ?
| From: | Bob | Date: | Thu, 04 Apr 2002 07:49:57 +0000 |
| Subject: | RE: [PHP] suggestions on work-arounds to highlight_file() ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91494@lists.php.net to get a copy of this message | ||
How about just make a symbolic link with .phps to the file:
ln -s /www/htdocs/phpdoc.php /www/htdocs/phpdoc.phps
Then make sure that your httpd.conf file has the following line in it:
AddType application/x-httpd-php-source .phps
Then url.com/phpdoc.phps would view the colored source for the file..
Later,
Bob