Re: uploading big files with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Angelo Zanetti <angelo@xxxxxxxxxxxxxxx>:

Hi all

We are pitching to develop a website where the admin has to upload big video
files but I'm not sure how this can be done as the file upload will most
probably time out.

How do current websites do it? Is there somehow a way to make use of FTP to
transfer the files?

Any links, help, advice will be appreciated.

Thanks in advance

Angelo
http://www.elemental.co.za



Uploading big files should not be a problem. Make sure the some .ini settings are correct for you:

max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
max_input_nesting_level = 64 ; Maximum input variable nesting level

; Maximum size of POST data that PHP will accept.
post_max_size = 8M

The first 3 you can set with ini_set. You could of course use the ftp functionality available in PHP.

http://nl3.php.net/ftp




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux