View Full Version : PHP Upload Fatal error
04-17-2004, 02: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
04-17-2004, 03:35 AM
how big is the file you are uploading ?
04-17-2004, 03:40 AM
file size it about 10 mega bytes, I set the php.ini max size to 40 mega bytes.
04-17-2004, 03: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
04-17-2004, 04: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?
04-17-2004, 10:59 PM
<? set_time_limit(0); ?> Doesn't work, I don't know why, I thought it works, but it doesn't
04-18-2004, 09:04 AM
check out the 3rd post on this page....
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?
04-18-2004, 06:27 PM
I know 10800 is long, that's why it's strange, I gave me this error in 1 or 2 minutes.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.