Re: [PHP] Trouble with resizing image!!

2003-02-10 Thread Geckodeep
thanks Marek, it never crossed my mind about time, i was using it to have a unque name to the uploaded file. I'll try the script without the time and see. Thanks "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At first glance I noticed you use

Re: [PHP] Trouble with resizing image!!

2003-02-10 Thread Marek Kilimajer
At first glance I noticed you use time() all over your script and expect it to be always the same. But the function returns current time, so it changes! Use $n_image1 = time().$_FILES['image1']['name']; and remove all time() functions Geckodeep wrote: I am having trouble in resizing the im

[PHP] Trouble with resizing image!!

2003-02-09 Thread Geckodeep
I am having trouble in resizing the image. What I am trying to do is letting people upload images of any dimension, and with the aid of my script after having uploaded, it renames the file, from this new file I'll get the size and resize it to predefined format 360x240 or 240x360 and this is the no