Hi all,
I'm trying to get a file upload tag to work on my local php/mysql setup.
Here's the code (relevant parts):
<form method="post" action="insert.php" enctype="multipart/form-data">
<input type="text" name="short" size=50>
<input type="file" name="userfile" size=50>
<input type="hidden" name="MAX_FILE_SIZE" value="30000">
</form>
I also bumped the "upload_max_file_size" variable in php.ini 5M
That and everything else I've tried all look right to me, but the form won't pass a value. It passes along the "short" value just fine, but the "userfile" value isn't getting sent to "insert.php" in Firefox.
The Safari browser just dies completely, won't submit the form.
Any ideas?
I'm trying to get a file upload tag to work on my local php/mysql setup.
Here's the code (relevant parts):
<form method="post" action="insert.php" enctype="multipart/form-data">
<input type="text" name="short" size=50>
<input type="file" name="userfile" size=50>
<input type="hidden" name="MAX_FILE_SIZE" value="30000">
</form>
I also bumped the "upload_max_file_size" variable in php.ini 5M
That and everything else I've tried all look right to me, but the form won't pass a value. It passes along the "short" value just fine, but the "userfile" value isn't getting sent to "insert.php" in Firefox.
The Safari browser just dies completely, won't submit the form.
Any ideas?