PHP 4.0 Bug #8620: Function ImageJPEG can't open temporary file if image filename is not specified
| From: | pparola at brazilinfo dot com | Date: | Tue, 09 Jan 2001 23:09:32 +0000 |
| Subject: | PHP 4.0 Bug #8620: Function ImageJPEG can't open temporary file if image filename is not specified | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43615@lists.php.net to get a copy of this message | ||
From: pparola@brazilinfo.com
Operating system: Win NT 4.00.1381
PHP version: 4.0.3pl1
PHP Bug Type: *Graphics related
Bug description: Function ImageJPEG can't open temporary file if image filename is not
specified
Even with all directory permissions set right for user
IUSR_NTMACHINENAME (the user with which some person will access my website through IIS) I always get
the following message when trying to generate an image without saving it to disk:
Warning: imagejpeg: unable to open temporary file in
C:\InetPub\MyWebDirectory\file_that_generates_the_image.php on line 76
Can somebody confirm that under NT there is no way to create a temporary image file? (Perhaps when
uploading a file through PHP under NT the same problem should occur?).
I also verified if there was some problem with permissions relating the temporary upload directory
setup in PHP.INI, and even changed this directory to be the same as the one reported by the browser
with no success (that is, I setup this temp upload directory to be the same as the one where my
script is running - just for testing purposes, since this would not be an acceptable solution).
Check also http://marc.theaimsgroup.com/?l=php-general&m=92214028508981&w=2
--
Edit Bug report at: http://bugs.php.net/?id=8620&edit=1