Hi all,
is there a possibillity to check how the user-file field is set ?
I tried :
<?PHP
print"<form method=POST action=$_SERVER[PHP_SELF] enctype=multipart/form-data>";
?>
<?
if(isset($_FILES['userfile']))
{
$im_set = "SET";
echo $im_set;
}
else
{
$Im_notSet = "NOT SET";
echo $Im_notSet;
}
<input name="userfile" type="file" class="forms" size="30">
?>
</form>
...but it doesn't work it always returns that it is set :/
Can anyone help me
Thanks
olli