Forum Moderators: open
<input type="button" value="Agree" onclick="location.href=\'pagename/'. $ip .'\'" /> I have a area on my website where visitors can post pictures, music files and so on. I have a TOS that I would like all visitors to read before viewing the user files. It basically tells people to report any copyrighted material that may not belong to the poster and explains how the content isn't copyrighted by the website but the submitter.
I don't want to use cookies so I grab the users ip address and just pass it to every page where I test it against the current ip. If no match it sends the user back to the agreement page. It's also a simple way to keep people from directly linking to their content.
My worry is that search engines might not be able to follow the button link. My other worry is that even if I switch it to a text link the grabbing and checking of the ip will somehow screw up the search bots.
Any thoughts?
[edited by: pageoneresults at 11:55 pm (utc) on Feb. 8, 2004]
[edit reason] Fixed HTML [/edit]
Bots are getting smarter as much as they can with the Human Intelligence. I feel JavaScript links, though not good for SEO reasons, are followed.