Handling File uploads pre 4.2.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need a way to make sure an upload has been "uploaded" correctly to my
server.

I know version 4.2.0 has the $_FILE['userfile']['error'] directive but
unfortunately I'm stuck with verision 4.1.2 at the moment and upgrading
may be a way off for me.

Should I use file_exists($_FILES['userfile']['tmp_name'] to see if it
exists before moving it to wherever I'm moving it too?

Thanks,

Ed

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux