[nycphp-talk] Uploading file size issues
Nelly Yusupova
nelly at cgim.com
Thu Jul 27 12:24:38 EDT 2006
Hello Corey,
I had the same problem with an upload script that I wrote. To fix the
problem you will need to change the following settings in the php.ini file:
upload_max_filesize, post_max_size, memory_limit, upload_tmp_dir,
max_execution_time
You can also use .htaccess file to change these settings. The .htaccess
file will need to be created in the local directory where your script
resides.
My .htaccess contains the following entries:
php_value upload_max_filesize 200M
php_value post_max_size 200M
php_value memory_limit 200M
php_value upload_tmp_dir 200M
php_value max_execution_time 50000
Hope this helps.
Sincerely,
Nelly Yusupova
Webgrrls Technical Lead (http://www.webgrrls.com)
Webgrrls NYC Chapter Leader (http://www.webgrrls.com/newyork_ny/)
Founder of DigitalWoman.com (http://www.digitalwoman.com)
email: nelly at digitalwoman.com
cell: (917)- 603-9226
----------------------------------------
DigitalWoman.com specializes in developing Internet strategies for
businesses and helps them bring their businesses online. We offer
full-service design, strategy, consulting, marketing and development to
build innovative marketing solutions that extend our client's brands. Our
website at http://www.digitalwoman.com details our experience and
qualifications.
________________________________
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Corey Fogarty
Sent: Thursday, July 27, 2006 11:58 AM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] Uploading file size issues
I use file uploaders often. Most recently I have been using it as a way for
clients to upload Flash files as part of a database application. The .swf's
are usually 2-10mg and in some cases the browser sits and sits and
apparently never really uploads the file. I looked all over for file size
limitations on the type=file HTML form element but found nothing specific.
Has anyone else experienced this? Is it a browser issue? Network speed
issue? PHP issue? And if it is a known issue, is it better to fall back on
FTP and a manual entry in the database?
Thanks!
Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060727/88b2d283/attachment.html>
More information about the talk
mailing list