otuatail Posted September 20, 2006 Share Posted September 20, 2006 On a previous post I was concerned with robots seeing code. Now I know they can’t I would like to create a page that would satisfy the robot with the contents of the website (knowing in advance it is a robot) instead of a user friendly page. If I create a html page on the server, how can I include it in my main page. Something likeindex.php<?if (IsRobot() )Insert Dumy_page.htmlelse?><html>... Original html here</html>Thanks Desmond. Quote Link to comment Share on other sites More sharing options...
craygo Posted September 20, 2006 Share Posted September 20, 2006 the code is[code]include('Dumy_page.html');[/code]Actually alot of people do it different ways but the function is "include"Ray Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.