note 27167 deleted from function.is-readable by sniper
| From: | sniper@php.net | Date: | Thu, 06 Feb 2003 14:36:44 +0000 |
| Subject: | note 27167 deleted from function.is-readable by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43517@lists.php.net to get a copy of this message | ||
We upgraded to Unix PHP 4.2.3 and is_readable() no longer accepts relative paths.
e.g.
for a php script running in /usr/local/somedir/
is_readable('file.txt')
should be replaced with
is_readable('/usr/local/somedir/file.txt')