Check the contents of a file field

From: Date: Mon, 05 May 2003 22:29:29 +0000
Subject: Check the contents of a file field
Groups: php.general 
Request: Send a blank email to php-general+get-146460@lists.php.net to get a copy of this message
Hi, I am trying to check whether the contents of a file field is empty but the following code doesnt work: if(isset($_POST[file]) == ''){ $error = "Please select a document to add to the project"; //etc could someone explain my error here please?

« previous php.general (#146460) next »