ID: 13090 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Open Bug Type: GetImageSize related Operating System: win2k PHP Version: 4.0.6 New Comment: Are you sure that is the right path and not relative to your document root? It wants the real on-disk absolute path. Previous Comments: ------------------------------------------------------------------------ [2001-09-01 11:05:05] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=13090&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]