#30354 [Opn->Fbk]: imagecreatefromjpeg() requires absolute path + docs dont make that clear
| From: | derick@php.net | Date: | Fri, 08 Oct 2004 06:52:36 +0000 |
| Subject: | #30354 [Opn->Fbk]: imagecreatefromjpeg() requires absolute path + docs dont make that clear | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364453@lists.php.net to get a copy of this message | ||
ID: 30354
Updated by: derick@php.net
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