Saturday July 31, 2010 @ 04:16:27 GMT+10    ( Weather:  18°C / 64°F  -  Partly Cloudy )
Home » Weblog Archives

Powered byD's Bloggie
Weblog » Archive » 2007 » April » Day 10 » Tip: Larger Upload Size Limit For PHP
Browse by specific entry ...
 Tip: Disable Auto Restart in Windows UpdateOpera 9.20 with Speed Dial and Dev Tools 

Tip: Larger Upload Size Limit For PHP - 12:46 pm
Guides , PHP  -  poster 

Below is a quick guide to get PHP accept larger upload file size.

Step 1.
Edit your PHP.INI file on the server
MAX_EXECUTION_TIME = 2400
MEMORY_LIMIT = 128M
POST_MAX_SIZE = 128M
UPLOAD_MAX_FILESIZE = 128M


Step 2.
Create a .htaccess file in your root folder.
php_value post_max_size 128M
php_value upload_max_size 128M


Step 3.
For HTML <FORM>
<input type="hidden" name="max_file_size" 
value="134217728">
 Tip: Disable Auto Restart in Windows UpdateOpera 9.20 with Speed Dial and Dev Tools 

Reader comments ( Add your comments )

- No comments (yet) -

Leave a public comment

Info Note: Neither BBCode nor HTML tags are supported currently.
Why ? Just to make my life easier and keep things simple.
Others: Comments that are longer than 1000 characters will be truncated.

    ) Info

Info

Info


Before you submit... verification

Please enter verification codes as seen in the image above to post your comment.
If you can't read the word, click here
(Your comment will be manually approved by admin before it's displayed to public)

$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.191.89 , 22 queries , 0.0418s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2009 Darren's Outpost