Handling File uploads pre 4.2.0

From: Date: Fri, 11 Mar 2005 20:05:31 +0000
Subject: Handling File uploads pre 4.2.0
Groups: php.general 
Request: Send a blank email to php-general+get-210544@lists.php.net to get a copy of this message
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

« previous php.general (#210544) next »