I was thinking something along these lines but I’m not familiar with this sort of thing.
$website = "http://www.justasign.com"; $clue="Sale sign displaying" $secret_word="your"; fopen($website, "r"); strstr
but then I got to thinking about buffer and timeout and thought I'll ask the experts..
Background and why
I have this new website, it’s a lottery for websites where you win traffic as the prize
It works like this:
To enter the lottery you have to visit todays winning website and find the secret word using the clue:
Then you enter
Todays secret word found on the winning webpage
A secret word from your content
And a clue (the 3 words before your secret word)
If you win then tomorrow everyone has to visit your website to find the secret word.
I am manually checking each entry for the clue and the secret word but I need to automate it somehow.
I’d like to run the code if fast enough at the point someone enters their website so I can error message them
If not I could loop through the entries and check them all prior to running the lottery.
Any help greatly appreciated