Web Hosting Talk







View Full Version : Few Jobs For PHP File Upload Site Needed


AkhilStyle1
04-10-2005, 04:59 AM
Hello

I have a file uploading site - www.uploadhut.com

Recently when people try to upload a large file it seems to timeout. It uploads for about 3-5 mins and then I get a page cannot be displayed error. Smaller files upload fine.

I think it may be something to do with the php.ini file. Not sure though. I need someone to take a look and quote me a price for fixing it.

Please email me here - akhilstyle@gmail.com

If this can be fixed I have a few more small jobs to do.

Regards
Akhil

sehe
04-10-2005, 05:40 AM
try to modify the following config values in your php.ini
http://www.php.net/manual/en/ref.info.php#ini.max-execution-time
http://www.php.net/manual/en/ref.info.php#ini.max-input-time
http://www.php.net/manual/en/ini.core.php#ini.post-max-size
http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize

AkhilStyle1
04-10-2005, 06:18 AM
max upoad file is 50MB
max input time 100
max execution time 1000
post max filesize is 55mb

sehe
04-10-2005, 07:06 AM
Originally posted by AkhilStyle1
max input time 100


max_input_time integer
This sets the maximum time in seconds a script is allowed to receive input data, like POST, GET and file uploads.

you might want to set it to like 600? cause your 100 seconds right now are way less than "about 3 - 5 mins"

AkhilStyle1
04-10-2005, 07:11 AM
I have tried setting it to 1000 but I still have the same problem. Anyone wanna take a look for $$?

NickDev
04-10-2005, 07:37 AM
Try adding ini_set("max_execution_time",0); to your script. :>

AkhilStyle1
04-10-2005, 08:23 AM
to 0?

In the script it has

ini_set("max_execution_time",100); to your script

Thanks for the help
Akhil

sehe
04-10-2005, 10:29 AM
Originally posted by AkhilStyle1
to 0?

yes, to zero
from http://www.php.net/function.set-time-limit

If seconds is set to zero, no time limit is imposed.

NickDev
04-10-2005, 12:27 PM
Yes what sehe said.

AkhilStyle1
04-10-2005, 01:08 PM
Tried that - still not working.

Could someone take a look and fix it for $$
Thanks
Akhil

add me to msn - akhilstyle@gmail.com

total_assault
04-10-2005, 02:32 PM
php.ini file maybe part of the probelm the system you are running to upload the files may have its own bug/limit

AkhilStyle1
04-10-2005, 02:36 PM
still looking for a programmer to take a look - please email me/msn me if you are interested in this and a few other jobs for me

JeanM
04-11-2005, 10:16 AM
Contact me via Windows Messenger on msn@jeanke.nl or mail me at mail@jeanke.nl I can take a look for free and write the scripts for you (for a fee ofcourse)