Re: Check the contents of a file field

From: Date: Tue, 06 May 2003 09:12:36 +0000
Subject: Re: Check the contents of a file field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146501@lists.php.net to get a copy of this message
on 06/05/03 9:06 PM, Shaun (shaun@mania.plus.com) wrote: > if(empty($_POST[document])){ > > PHP says that the file field is empty even when it isnt... Try adding single quotes: if(empty($_POST['document'])){ Justin

« previous php.general (#146501) next »