For Anyone had problems with the limits on Uploades of the Php handling
Posted by:
kaziris
(---.home.otenet.gr)
Date: November 01, 2008 01:35PM
I have solved the problem for the size limits of the uploades using the PHP and the wamp server.
What you have to do to change the amount of data that u can allow someone to upload is in the "php.ini" file
left click on the wamp tray icon -> choose the php -> php.ini
In this file find the tab
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
and change in this tab the label
; Maximum size of POST data that PHP will accept.
post_max_size = 12M <----------------- i have change it for example to 12MB allowed
also for the upload u have to change another section in the below tab
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
in this tab now change also the
; Maximum allowed size for uploaded files.
upload_max_filesize = 12M <----------------- put the same MBytes or lower , (notice that bigger MB allowed in this area from the "post_max_size" want be uploaded)
-----------------------------------------
In other words what prefered size you put on the "post_max_size" should be equal or less to the "upload_max_filesize" or either your uploades want work in the prefered size
Cheers