ImageJPEG?

From: Date: Fri, 07 Feb 2003 21:24:19 +0000
Subject: ImageJPEG?
Groups: php.general 
Request: Send a blank email to php-general+get-134796@lists.php.net to get a copy of this message
Quickie.... I want to save a modified jpeg to a file. I can out put it by doing this: Header("Content-type: image/jpeg"); imagejpeg($image_thum); imagedestroy($image_thum); I want to save it to this location: /images/1000/ with its original filename but with a t_ attached to the begining. I tried this: $uploadpath = "/images/1000/"; $temp = "t_".$imagefilename; $imagefilename = $temp; $dest = $uploadpath.$imagefilename; ImageJPEG($image_thum,$dest); but that did nothing. What am I doing wrong? Cheers John Wards

« previous php.general (#134796) next »