NYCPHP Meetup

NYPHP.org

[nycphp-talk] Timeouts ... how to get around it?

Rolan Yang rolan at omnistep.com
Tue Oct 14 09:56:55 EDT 2008


mikesz at qualityadvantages.com wrote:
> Hello NYPHP,
>
>   I have an array that has 13000 email addresses. For now, its in the
>   script but will be in a database table eventually. It is a list of
>   known bad guys.
>
>   I have a database table with 9000 records and one of the fields is
> ...
>   Anyone have a better idea for doing this task?
>
>   TIA for any help.
>
>   

The previous replies are all good suggestions to help you logically 
solve the task.
If you want to avoid the timeout, put a "set_time_limit (0);" at the top 
of the script.
I try to run all these processing type scripts under the command line 
interface because some browsers, I believe, will timeout after a set 
period anyway.

~Rolan



More information about the talk mailing list