Question : if $_FILES["myfile"]["name"] is not set

<form action="resize32.php?productid='. $productid.'" method="POST" enctype="multipart/form-data">
<input type="file" name="myfile">
<input type="submit" value="upload">
</form>

if not post do something else  assign variables

$name= $_FILES["myfile"]["name"];
$temp= $_FILES["myfile"]["tmp_name"];

Answer : if $_FILES["myfile"]["name"] is not set

Structures are fundamentally different from classes in that they are value-types rather than reference types. Whether or not you need a struct rather than a class depends largely on its intended use.
Random Solutions  
 
programming4us programming4us