For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > March 2006 > Re: [PHP-DB] Max Size File that can be uploaded









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Max Size File that can be uploaded
Chris

2006-03-14, 9:55 pm

Nur_Adman@fmi.com wrote:
> Dear All,
>
>
>
> I want to give max size file = 4000KB when I am uploading to mySQL.
>
>
>
> I used this :
>
>
>
> <INPUT type="hidden" name="MAX_FILE_SIZE" value="4000">
>
>
>
> But it didn't work. The file that could upload only under 2048KB.


Check a phpinfo page and look for upload_max_filesize

PHP is probably limiting it to 2M.

Not sure if you can change this with a htaccess file (check
http://www.php.net) or if it's a php.ini change only.

--
Postgresql & php tutorials
http://www.designmagick.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com