Page 1 of 1

mySQL Max File Size

Posted: Tue Oct 11, 2005 10:04 pm
by kristolklp
I am using mySQL to store images that users upload from my site. It seems the max file size allowed to be entered into the database is 1MB, can this be changed to allow larger images to be stored?

In my HTML, I have <input type="hidden" name="MAX_FILESIZE" value'="24000000"> but apparently I need to change more than just this. ANy help is appreciated.

Thanks.

Posted: Tue Oct 11, 2005 10:22 pm
by feyd
although storing images directly in a database is not recommended, depending on the field size you've used, you are limited to various sizes, however 1MB is no where near one of those. So I'd bet it's your server's max_upload_size or related directive settings.