GetDotted Domains

Viewing Thread:
"PHP Timeouts?"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 07/05/04 at 10:14
Regular
Posts: 14,117
I'm using some code to allow people to upload mp3's to my site. However, when the file size goes above about a meg, I get an error saying that the php has reach the timeout limit of 1200 seconds.

1200 seconds is 20 mins, and there's no way it's been going for 20 mins.

Is there any code I can put in to ignore any timeouts, and just keep going 'til it's done?
Mon 17/05/04 at 21:47
Regular
Posts: 14,117
Turbonutter wrote:
> The same timeout error?


Yes, it is.

Cheers for the tip Captain, I'll go trawl through Hotscripts.com again...

:-)
Mon 17/05/04 at 16:18
Regular
"I crashed into a va"
Posts: 79
php.ini is normally set to allow a maximum of a 2 meg upload which is what it probably is there, try using a perl script instead
Thu 13/05/04 at 19:11
Regular
"Eff, you see, kay?"
Posts: 14,156
The same timeout error?
Thu 13/05/04 at 13:29
Regular
Posts: 14,117
Cheers Turbo, but I've tried that, and the code I'm using gives me an error though....
Sat 08/05/04 at 17:58
Regular
"Eff, you see, kay?"
Posts: 14,156
[URL] http://uk2.php.net/manual/en/function.set-time-limit.php [/URL]

set_time_limit(0)
Fri 07/05/04 at 14:18
Regular
Posts: 14,117
I've found out a bit more. In the php.ini file withing the minixampp folder, is this line:

max_execution_time = 1200 ; Maximum execution time of each script, in seconds


Hovever, that's 20 mins, and it goes for about 2 or 3 mins before giving me the error. So I've lost 17 minutes somewhere...
Fri 07/05/04 at 11:37
Regular
Posts: 14,117
That code has a file size limit, but the one I'm testing at home as one of 5MB, so it's not that.

I've also allowed .mp3 extensions on my test one as well.
Fri 07/05/04 at 11:35
Regular
Posts: 14,117
You can get it [URL]http://www.this-side-up.biz/test/fileupload/index.php[/URL]
Fri 07/05/04 at 11:13
Regular
"Pouch Ape"
Posts: 14,499
Post the code, minus the ftp details, of course. Could be a restriction imposed by the server.
Fri 07/05/04 at 10:14
Regular
Posts: 14,117
I'm using some code to allow people to upload mp3's to my site. However, when the file size goes above about a meg, I get an error saying that the php has reach the timeout limit of 1200 seconds.

1200 seconds is 20 mins, and there's no way it's been going for 20 mins.

Is there any code I can put in to ignore any timeouts, and just keep going 'til it's done?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.