in reply to cookie woes
Does $random contain a value? When you read a cookie in, it only returns its -value.
Are you executing the script within the same domain that the cookie is set for? In other words, you cannot read a cookie from a different domain.
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (192 votes). Check out past polls.