Posted by TheReckter on 06/07/07 07:22
Hello, I tried uploading a file via the following method, however it
does not work, I was wondering what I did wrong as I can not see it.
form.html
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" id="file" />
<input type="hidden" value="hey" id="joe" />
<input id="submit" type="submit" value="Upload" />
</form>
upload.php
<?php
print_r($_FILES);
?>
Navigation:
[Reply to this message]
|