Re: [PHP] Strange problem with picture Upload

2005-04-24 Thread Richard Lynch
PS You are inserting the image info into the database even if it's not a valid JPEG or GIF and you are throwing it out -- That's probably NOT what you really want to do anyway. So even if that's not what is wrong in this case, your logic is a bit "off" in that part. On Sat, April 23, 2005 7:44 a

Re: [PHP] Strange problem with picture Upload

2005-04-24 Thread Richard Lynch
On Sat, April 23, 2005 7:44 am, Labunski said: > Hi guys, > I have to say, I've written so many scripts that had file upload functions > included, > but this time something strange is happening. > > The script passes the IMAGE_TYPE check, and picture's name stores in the > database (so I guess