On Saturday 08 February 2003 05:24, John Wards wrote:
> 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.

No errors? 

What does $dest contain? 

Is it a valid path and writeable by the webserver?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Q:      "What is the burning question on the mind of every dyslexic
        existentialist?"
A:      "Is there a dog?"
*/


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

Reply via email to