I did something like this recently, couldn't work out why I was crashing PHP and Apache with just a cookie script. Turns out, when I was creating a cookie, I would check if it existed and if so, then delete it. This was okay (except pointless) until I ran a deletion function, which called the create function. Obviously, the cookie existed, so it called the delete function, which called the create function, which called the delete function, which called the create function, etc...
Check you don't have silly errors like this or like this:
PHP Code:
<?php
while (true) {
// do something
}
?>
-Peter
Bookmarks