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
Nur_Adman@fmi.com

2006-03-15, 3:55 am

Chris,



Its solved my problem. Thank you so much.







-----Original Message-----
From: Chris [mailto:dmagick@gmail.com]
Sent: Wednesday, March 15, 2006 12:12 PM
To: Adman, Nur anita
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Max Size File that can be uploaded



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