I have been developing an application that allows a user to upload files to the server. I had working forms until recently, when suddenly they stopped working.
All the forms that do not work any more are the forms that have the enctype='multipart/form-data'
. But the other forms that do not have this works perfectly. I've checked the spelling, and I checked everything.
It generates undefined indexes which really annoys me because it worked before. How can I resolve this?
<form method="post" enctype="multipart/form-data" action="uploadfile.php">
<input type="file" name="memofile"><br>
<input type="submit" name="submit" value="Test">
</form>
– Jake Plaras Dec 06 '11 at 16:48