Jump to content


Inserting a html page within a php page

  • Please log in to reply
1 reply to this topic

#1 otuatail

  • Members
  • PipPipPip
  • Advanced Member
  • 960 posts

Posted 20 September 2006 - 02:31 PM

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 like

if (IsRobot() )

Insert  Dumy_page.html



... Original html here


Thanks Desmond.

#2 craygo

  • Staff Alumni
  • Advanced Member
  • 1,973 posts
  • LocationRhode Island

Posted 20 September 2006 - 02:38 PM

the code is


Actually alot of people do it different ways but the function is "include"


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users