Jump to content



  • Please log in to reply
No replies to this topic

#1 dal_oscar

  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 13 April 2006 - 01:38 PM

I am not sure if I posted this here before. If I did, please accept my apologies. I tried looking for my post (if any)but couldnt find it, so here it is...

I am using 'crawler' in get_browser to check if a visitor is a spider/crawler

$ua = get_browser(null,true);
if ($ua->crawler== TRUE)

And then in my code, I check the value of $isspider to dump the data accordingly. The problem is, that $ua->crawler always seems to be null. I am also storing the HTTP_USER_AGENT values, and saw using those that an MSNbot just visited my website. But $ua->crawler fails to register this (it is always null).

Any ideas?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users