On Tuesday 27 August 2002 16:49, Dave Carrera wrote:
Hi All
I am very fed up and confused to why some simple form error checking is
not working.
All I want to do is check if a field has something in it the its ok else
show error.
I have a fields in my form that is for people to upload an
Hi Dave
This is working for me
if (!empty($HTTP_POST_FILES['updatei']['tmp_name']) AND
($HTTP_POST_FILES['updatei']['tmp_name'] != none)) {
$name = $HTTP_POST_FILES['updatei']['name'];
$typ = $HTTP_POST_FILES['updatei']['type'];
$size = $HTTP_POST_FILES['updatei']['size'];
$tmpname =