[PHP] problem finding out original filename while using php to upload.

2001-12-16 Thread Neil M
I am using php to upload image files. heres my code .. ? if (is_uploaded_file($photo_file)) { clearstatcache (); $size = filesize ( $photo_file ) ; if ( $size 1024000 ) { print (BR ERROR - File is too big ! File uploads should be below 1024 k ( 1mb ) BR); exit ; }

Re: [PHP] problem finding out original filename while using php to upload.

2001-12-16 Thread Ray Gaylog
, 2001 3:22 PM Subject: [PHP] problem finding out original filename while using php to upload. I am using php to upload image files. heres my code .. ? if (is_uploaded_file($photo_file)) { clearstatcache (); $size = filesize ( $photo_file ) ; if ( $size 1024000 ) { print (BR ERROR