I have this in HTML along with the registration info.
<form action="updatemem.php" method="POST" enctype=multipart/form-data">
<label for="image">Upload profile photo:</label>
<input type="file" name="image" />
In Updatemem.php:
$file = $_FILES['image']['tmp_name'];
if (!isset($file))
{echo "no file";
die;}
And when I choose a file, it goes into "no file". I echoed $file and it is blank. I've been looking all over the web and cant find any info. Please help!
Thanks!


