...

View Full Version : PHP Upload Fatal error



weronpc
04-17-2004, 03:29 AM
When I tried to upload something with my upload php script, it gave me this error, anyone know anything about it?

Fatal error: Maximum execution time of 10800 seconds exceeded in C:\htdocs\member\storage.php on line 2

Also, on code line 2, it has nothing to do with the error. ( line 2 is $button_num=3; )

Thank you all

firepages
04-17-2004, 04:35 AM
how big is the file you are uploading ?

weronpc
04-17-2004, 04:40 AM
file size it about 10 mega bytes, I set the php.ini max size to 40 mega bytes.

firepages
04-17-2004, 04:56 AM
ok , thats a big file so your script probably is simply timing out ,

<? set_time_limit(0); ?>

at the head of the script may solve

weronpc
04-17-2004, 05:05 AM
Yup, thank you very much..

Also, I really like the new look of codingforums.

does the web master wrote this forum or is there a premade one?

weronpc
04-17-2004, 11:59 PM
<? set_time_limit(0); ?> Doesn't work, I don't know why, I thought it works, but it doesn't

black3842
04-18-2004, 10:04 AM
check out the 3rd post on this page....
http://forums.devshed.com/t64691/s.html

but? 10800 seconds is like 3 hours....hmm, how long does it take to upload?
and what is your max_execution_time set to in the php.ini?

weronpc
04-18-2004, 07:27 PM
I know 10800 is long, that's why it's strange, I gave me this error in 1 or 2 minutes.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum