|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8620 Function ImageJPEG can't open temporary file if image filename is not specified
Submitted: 2001-01-09 18:09 UTC Modified: 2001-05-02 18:16 UTC
From: pparola at brazilinfo dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.3pl1 OS: Win NT 4.00.1381
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: pparola at brazilinfo dot com
New email:
PHP Version: OS:


 [2001-01-09 18:09 UTC] pparola at brazilinfo dot com
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-01 01:11 UTC]
Does this happen with PHP 4.0.4pl1 too?
You could also try the latest CVS build from


 [2001-05-02 18:16 UTC]
No feedback. Closing

- James
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 16:01:35 2024 UTC