Page 1 of 1

file upload size

Posted: Fri Apr 11, 2003 11:54 am
by phpcoder
hello,
How can i increase the size of file to be uploaded.
My file size are 800MB + (i.e movies);
And also i m using <embed> tag to pla movies can any one give me some advise wether it is right way to do.
Note: Everything is on LAN:...

Posted: Fri Apr 11, 2003 2:13 pm
by Jim
What's the script you're using to upload files right now?

And for further reference in to this problem, may I suggest you check out http://www.php.net/manual/en/features.file-upload.php?

Oh, and where are you hosting your files, because 800mb's of bandwidth downed at one turn is pretty crazy. :P

Posted: Sat Apr 12, 2003 8:25 am
by m3mn0n
Increase the memory limit, execution time and file upload max size in your php.ini.

Code: Select all

<?php
ini_set("memory_limit", "256M"); // M = megabytes
ini_set("max_execution_time", "90000"); // the number is in seconds
ini_set("upload_max_filesize", "1000M"); // M = megabytes
?>