how can i write program with php to up load file

How can i write pro gram to up load file with is very big such as 800 M with php it a sing le file
teeraAsked:
Who is Participating?
 
str_kaniConnect With a Mentor Commented:
you can upload huge files using php but you will have to make changes in the php.ini file to allow the
post_max_size
memory etc

you can get more detail from this link...
http://www.webmasterworld.com/forum88/1093.htm

The alternative is to use a .htaccess file in the root of your site
1) create file named ".htaccess" in root folder (unless one already exists)
2) add the following line
php_value upload_max_filesize "20M"
This will again only change the local setting but will apply it to every file on your site without having to use ini_set


Hope this helps you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.