PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

bot and php scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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...
    X