Posted by Dave on 07/20/05 16:11
windandwaves (winandwaves@coldmail.com) decided we needed to hear...
> Hi Folk
>
> I have a long script that sends a bunch of emails (between 5 and 20). At
> the end of the script, it creates a Internal Server Error 500 - sometimes
> only. The more emails I send , the more likely it seems that I get the
> error. The whole script runs though - it seems (error occurs somewhere
> near or at the end).
>
> I imagine it either to be server overload OR a time-out (it takes about 30
> seconds for the script to run (which I think relates the email send part...)
>
> Any hints? I am a little lost.
Sounds likely that this is a script timeout. Your server error log
would confirm that for you. Even so you might find this page
useful - http://www.php.net/set_time_limit
--
Dave <dave@REMOVEbundook.com>
(Remove REMOVE for email address)
Navigation:
[Reply to this message]
|