hi sory about my english
i have a form that sending s files:
<form action="add_picture_db.php" method="post" enctype="multipart/form-data">
small file <input type="file" name="small_f">
larg file <input type="file" name="larg_f">
<input type="submit">
</form>
/// simple ! ! !
now, i'm tring at the 'add_picture_db' page
to confirm some things about the files, like
if both of them were sent, or if the small one is larger then the larg one.
any way some conditions before I upload them.
this is the conditions:
if(isset($small_f_name) and isset($larg_f_name))
{
if(($small_f_size < $larg_f_size))
{
print $small_f_name." can be upload<br>";
print $larg_f_name." can be upload<br>";
}
else {print "the small file cannot be larger than the larg file";}
}
else {print "u must upload 2 files";}
<end script>
now, even the isset function doesnt goes well
can u tell me what is wrong?
please try to expline it to me eazily, because of my bad english, thanks a lot,
avi