Im sure this question has been answered before but I surely cant find it!
I have a form in pul.php:
<form action="ul.php" method="POST" enctype="multipart/form-data">
Thumbnail:<input type="file" name="pThumbnail"><br>
<input type="submit" value="Upload"><br>
</form>
and then in ul.php I have:
<?php
header("Content-type: $pThumbnail_type");
echo $pThumbnail;
?>
All it shows me when I run all of this is:
/tmp/phplY6cx9
(or something similar to that every time)
Why wont it show the image?
Thanks.