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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to