I just got notified that ads were not found on the home page at www.briandunning.com, which obviously they do appear and work fine ... manually revalidating didn't help, so I checked for new code and posted the 2/22 version. It couldn't write to my ad file. Permissions were already at 777, I reset them to 777 to make sure, and it still couldn't write to it. So I downgraded the code to the 1/21 version and the ads appear fine again, but the validator still reports that it can't see the ads. Anyone have a suggestion?
I don't see any ads. Try viewing from different machine. Do not have a clue concerning the fix. Shannon
The .txt file will have a different name. If you update your code, you also need to update the name of your .txt file.
Aahhh -- so it does. Version numbers in the filenames? Very good. I missed that. The ads are appearing now with the new code, but it still doesn't validate. Check it out: www.briandunning.com, ads are at the bottom of the dk blue column on the left under the words "Our supporters."
Your server isn't seeing $_SERVER['REMOTE_ADDRESS'] properly. Try adding this to the end of your PHP script: echo '<!-- ' . $_SERVER['REMOTE_ADDR'] . ' -->'; PHP: and see if it gives your IP address.
I put it in there (though I didn't bother to comment it out to ease troubleshooting) - seems to read that var fine.