ID: 30354
Updated by: [EMAIL PROTECTED]
Reported By: janitor at wonkavision dot net
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
This is not true, there is no reason why to use the full path (alteast
not on Linux). Please fill in your PHP version and operating system and
provide information on how you compiled PHP.
Previous Comments:
------------------------------------------------------------------------
[2004-10-07 20:10:13] janitor at wonkavision dot net
Description:
------------
The other day I spent 2 hours trying to find a bug in my code becasue
imagecreatefromjpeg() requires absolute path and the docs dont make it
clear that you cannot use a relative path. There is a user comment
about this, but I think it probably needs to be in the docs.
Thanks for the help!
Reproduce code:
---------------
imagecreatefromjpeg("nextdir/filename.jpg");
it should be something like
imagecreatefromjpeg("var/www/project/nextdir/filename.jpg");
Expected result:
----------------
no output
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30354&edit=1