I'm trying to grab the unique crawler ID for each scan while inside the handleDocumentInfo() function. Is there an easy way to do this?
Thanks!
~ b
You seem to have CSS turned off. Please don't fill out this field.
Anonymous
Simply use $this->getCrawlerId() inside the handleDocumentInfo() method, doesn't it work?
Never mind... I think I figured it out:
$crawler = new MyCrawler(); define("crawlerId",$crawler->getCrawlerId());
Then, inside the handleDocumentInfo() function:
echo(crawlerId);
If it's not obvious, I'm new to PHP :)
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
I'm trying to grab the unique crawler ID for each scan while inside the handleDocumentInfo() function. Is there an easy way to do this?
Thanks!
~ b
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Simply use $this->getCrawlerId() inside the handleDocumentInfo() method, doesn't it work?
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Never mind... I think I figured it out:
$crawler = new MyCrawler();
define("crawlerId",$crawler->getCrawlerId());
Then, inside the handleDocumentInfo() function:
echo(crawlerId);
If it's not obvious, I'm new to PHP :)
Thanks!
~ b