Re: Infinite Loop?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 03 November 2002 04:26, Graeme McLaren wrote:
> Greetings list members.  I've written the code below as part of an
> automatic email script.  The problem with this is it seems to run in to
> an infinite loop.  The for loop seems to get completely ignored by
> emails get sent constantly.  I deleted the script after receiving 2500
> emails ! :'(
>
> Can anyone point out what the problem with this is?
>
>
> while($tmp <= $NowUnix)

You're not updating $tmp or $NowUnix inside your loop.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *


/*
Time is an illusion perpetrated by the manufacturers of space.
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux