Re: ImageJPEG?
| From: | Jason Wong | Date: | Sat, 08 Feb 2003 03:51:13 +0000 |
| Subject: | Re: ImageJPEG? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134853@lists.php.net to get a copy of this message | ||
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?"
*/