View Single Post
Old 12-19-2003, 10:45 AM   #1
bloodjelly
Purple Mole
 
Join Date: Dec 2003
Posts: 106
Spidering through a script

Hi -

I'm trying to run the spider in the "background" through a php script, and I have this so far:

PHP Code:
$GLOBALS['limit'] = 2;
$GLOBALS['url'] = "http://www.website.com/";
include 
'../search/admin/spider.php'
This seems to run the spider fine for the appropriate website, and the website is entered into the MySQL database, but searching doesn't work on it until I run an update manually.

Is there a better way to run the spider without having to directly enter in the site to be spidered? Thanks!
bloodjelly is offline   Reply With Quote