Bug #13090: function is unable to find files via absolute path.
| From: | m dot kumar at gmx dot at | Date: | Sat, 01 Sep 2001 15:05:05 +0000 |
| Subject: | Bug #13090: function is unable to find files via absolute path. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64875@lists.php.net to get a copy of this message | ||
From: m.kumar@gmx.at
Operating system: win2k
PHP version: 4.0.6
PHP Bug Type: GetImageSize related
Bug description: function is unable to find files via absolute path.
config: php 4.0.6 win32 binary dist, apache 1.3.20.
while calling getimagesize on a file with relative path or via URL works,
it fails to find a file specified via absolute path.
example:
verified path via browser is:
http:/127.0.0.1/pics/foo/blah.jpg
from a script in directory /pics called:
getimagesize("foo/blah.jpg") .. works
getimagesize("http:/127.0.0.1/pics/foo/blah.jpg") .. works
getimagesize("/pics/foo/blah.jpg") .. fails:
Unable to open '/pics/foo/blah.jpg' for reading.
mike.
--
Edit bug report at: http://bugs.php.net/?id=13090&edit=1