note 58392 deleted from function.imagejpeg by cmb
| From: | cmb@php.net | Date: | Sun, 02 Oct 2016 07:59:10 +0000 |
| Subject: | note 58392 deleted from function.imagejpeg by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206724@lists.php.net to get a copy of this message | ||
Note Submitter: I_have at no_email_for_spam dot com
----
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);