Can't upload file greater than 11kb
| From: | Chris | Date: | Tue, 23 Dec 2003 01:54:43 +0000 |
| Subject: | Can't upload file greater than 11kb | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173217@lists.php.net to get a copy of this message | ||
I've got a situation where I want to upload a file to a server then enter
the data in that file into mysql. I have used this well documented upload
form
<form enctype="multipart/form-data" action="_URL_"
method="POST">
Send this file: <input name="userfile" type="file">
<input type="submit" value="Send File">
</form>
script on many php servers. However I am on one now which is not allowing me
to upload a file greater than 12kb.
I know the upload_max_filesize is 2M but something else is stopping the
upload and I don't have a clue what it is. I know you should include <input
type="hidden" name="MAX_FILE_SIZE" value="30000"> in the above form
but that
is only a convenience for the user.
This particular server is running php as a cgi module.
Thanks
Chris