Re: [PHP] File Upload and NT...

2001-08-24 Thread Joseph Koenig
Actually, The warning is coming from when I try and upload the file from the desktop of my Mac. It's supposed to get uploaded into: C:\WINNT\PHP\UPLOADTEMP. I checked phpinfo() and that's where it says the upload_tmp_dir is. By the way, I was using the getimagesize to check if the file is a .gif,

RE: [PHP] File Upload and NT...

2001-08-24 Thread Erik H. Mathy
> I'm having an odd problem on a WinNT system. That's what NT is all about. ;) > When I try to do my upload, I test the file to see the type of it: > $image_info = GetImageSize($the_image); Out of curiousity, who don't you try using: if(is_file($the_image)) { do something... } else {

Re: [PHP] File Upload and NT...

2001-08-24 Thread Rasmus Lerdorf
Try putting it in a directory that doesn't have a space in it. On Fri, 24 Aug 2001, Joseph Koenig wrote: > Sorry, I know file uploads are asked about all the time... > > I'm having an odd problem on a WinNT system. > > When I try to do my upload, I test the file to see the type of it: > $image_i

[PHP] File Upload and NT...

2001-08-24 Thread Joseph Koenig
Sorry, I know file uploads are asked about all the time... I'm having an odd problem on a WinNT system. When I try to do my upload, I test the file to see the type of it: $image_info = GetImageSize($the_image); However, that line gives me: Warning: getimagesize: Unable to open '/Joe1/Desktop%20