Forum Moderators: coopster

Message Too Old, No Replies

i need file upload php code

         

charan315

4:36 am on Apr 16, 2010 (gmt 0)

10+ Year Member



i had tried many php codes but non worked for large files because my hosting company had a default time out of 60 sec.
i tried set_time_limit(0); it also doesn't work


only one code worked fine but its trial version the download link for the code is:
<snip>

do any one have upload code like the above link which doesn't need time out?

[edited by: dreamcatcher at 7:04 am (utc) on Apr 16, 2010]
[edit reason] no urls please, see T.O.S [/edit]

rainborick

6:00 pm on Apr 16, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There is probably no way to work around a hosting service's timeouts on scripts. The limits are controlled at the server level to prevent bad scripts from tying up the server and hurting the other sites that reside there. The only workaround for allowing large files to be uploaded is to use FTP, and you have to be careful to do it in a way that doesn't reduce the site's security.