PassMark Logo
Home » Forum

bot and php scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • will
    Member
    • Feb 2006
    • 57

    #1

    bot and php scripts

    Hi,

    I have a PHP script that creates a file (as well as displaying a webpage). If Zoom indexes pages generated with this PHP script, will the PHP script also be triggered to create the files then?

    Sorry if its a stupid Q
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    If you are using Spider mode then yes.

    Having Zoom (or any other bot) hit the page is identical to having a real user hit the page.

    The only easy way to know if a hit is a bot or a real user is the by using the "User agent" string in the HTTP header.

    If you are a PHP coder, you can use the value of the user agent string via PHP and the change the behaviour of the script for bots.

    Comment

    Working...