php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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 http://marc.theaimsgroup.com/?l=php-general&m=92214028508981&w=2


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-01 01:11 UTC] sniper@php.net
Does this happen with PHP 4.0.4pl1 too?
You could also try the latest CVS build from http://www.php4win.de/

--Jani

 [2001-05-02 18:16 UTC] jmoore@php.net
No feedback. Closing

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC