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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to