Hi,
Please help me figure out what I did wrong here. I have a form as follows:
<form action="actionPage.php" method="post" enctype="multipart/form-data">
<input type="file" name="thumbnail">
<input type="submit" value="submit">
</form>
in the actionPage.php file I have the following codes:
<?php
$thumbnail=$HTTP_POST_VARS["thumbnail"];
echo($thumbnail);
?>
The above code didn't output anything when I uploaded an image. I used $thumbnail=$HTTP_POST_VARS["thumbnail"] because I set my php.ini file so that all variables must be called properly. Could this be the problem?
Thanks for your help
Anh