note 58392 added to function.imagejpeg
| From: | I_have at no_email_for_spam dot com | Date: | Wed, 02 Nov 2005 17:01:19 +0000 |
| Subject: | note 58392 added to function.imagejpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97994@lists.php.net to get a copy of this message | ||
The behaviour of not being allowed to write the file is based on a change in latest release, see http://www.php.net/ChangeLog-4.php#4.4.1
- Added missing safe_mode checks for image* functions and cURL.
- ...
Some people (including me) consider this new behaviour as broken, see also http://bugs.php.net/bug.php?id=35060 - please vote
for/against the bug if you feel same/different.
Workaround is e.g. a touch($filename); before the imagejpeg($im,$filename);
----
Manual Page -- http://www.php.net/manual/en/function.imagejpeg.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58392
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58392&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58392&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58392&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58392&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58392&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58392&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58392&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58392&report=yes
Search -- http://master.php.net/manage/user-notes.php