Re: [PHP] Upload and resize file

2007-08-23 Thread Børge Holen
On Thursday 23 August 2007 03:41, Beauford wrote: > I downloaded this 'upload and resize image' script, and since I have no > idea what I am looking at as this is something I have never done, could > someone have a look and see what the problem might be. I've been searching > around but haven't co

Re: [PHP] Upload and resize file

2007-08-23 Thread brian
Beauford wrote: I downloaded this 'upload and resize image' script, and since I have no idea what I am looking at as this is something I have never done, could someone have a look and see what the problem might be. I've been searching around but haven't come across anything that makes any sense

Re: [PHP] Upload and resize file

2007-08-23 Thread Craige Leeder
While I'm not 100% sure, I'd say something's wrong with this line: system("pnmscale -xy 250 200 $tmpimg | cjpeg -smoo 10 -qual 50 >$imgfile"); I would say that Linux is not writing the output to the location stored in $imgfile, and thus there is no file there to delete. However, I can not really

[PHP] Upload and resize file

2007-08-22 Thread Beauford
I downloaded this 'upload and resize image' script, and since I have no idea what I am looking at as this is something I have never done, could someone have a look and see what the problem might be. I've been searching around but haven't come across anything that makes any sense yet. When a pictu