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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
28 - 9 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sun Apr 21 08:01:27 2024 UTC