note 31646 added to function.highlight-file
| From: | thebitman at attbi dot com | Date: | Tue, 29 Apr 2003 06:09:01 +0000 |
| Subject: | note 31646 added to function.highlight-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47235@lists.php.net to get a copy of this message | ||
despite being disabled by safe-mode, the "disabling" of it is worthless, since you can get
around it like this:
highlight_string(implode ("\n",file($_SERVER['SCRIPT_FILENAME'])));
Note that this still won't let you use .phps files, but it will still let you emulate this
function.
--
http://www.php.net/manual/en/function.highlight-file.php
http://master.php.net/manage/user-notes.php?action=edit+31646
http://master.php.net/manage/user-notes.php?action=delete+31646
http://master.php.net/manage/user-notes.php?action=reject+31646