Re: PHP4.0.1pl2 + GD library from PHP4.0.2dev

From: Date: Mon, 07 Aug 2000 06:00:11 +0000
Subject: Re: PHP4.0.1pl2 + GD library from PHP4.0.2dev
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-1598@lists.php.net to get a copy of this message
On Fri, 4 Aug 2000, Alain Samoun wrote: > Did you start your script with: > header("Content-type: image/jpeg"); > Alain > On Fri, Aug 04, 2000 at 10:54:27AM +0200, Jiøí Pelikán wrote: > > PHP return this error : > > imagejpeg: unable to open temporary file in XXX.php on line YY > > line YY in my code is : imagejpeg($img); > > On PHP3 this work properly (I use imagegif instead imagejpeg) As it says, temporary file. Look at php.ini for temporary_dir (or something, where it tries to save temporary files), and change it to what it should be and check rights to that dir. eg. /tmp, c:\temp etc.. > > Configuration of my server: > > MS SBS 4.5 + SP4 -Pauli Suikka -- < I Haven't lost my mind, I have a backup on tape somewhere... >

« previous php.windows (#1598) next »