Re: image upload
| From: | Jason Wong | Date: | Mon, 06 Oct 2003 00:09:13 +0000 |
| Subject: | Re: image upload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165114@lists.php.net to get a copy of this message | ||
On Monday 06 October 2003 00:32, Yury B. wrote:
> Hi I need to upload two resized images out from one jpg image. I use
> following code to do it:
[snip]
> This code is working perfectly but produces only one uploaded and
> resized image (I comented out the lines that I add for second image)
> If I take out comments from the code on the second image - this
> script doesn't work - it produces two files on the server but only
> one of them is working the other one shows error of wrong hedding.
> How should I upload two resized files? I know it's possible but how
> can I fit everything in one portion of code?
Check the values of all your variables -- in particular $rw, as it doesn't
seem to be initialised.
--
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
------------------------------------------
/*
One thing about the past.
It's likely to last.
-- Ogden Nash
*/