Hi charter
i tried your solution with and without this little extra bit to view argv/c:
foreach ($argv as $key=> $value)
{
echo "the key is $key the value is $value ";
}
echo "argc is $argc ";
The LOG file printed out looks like this:
--------------------------------
the key is 0 the value is /path/to/spider/phpdig/admin/spider.php
the key is 1 the value is http:
www.cdncc.com
argc is 2
Usage: php -f spider.php [option]
Opts: all (default)
forceall
http://something
filename [containing list of urls]
-----------------------------------
Still no result of site added to spidered list.
Do the values of argv and argc look correct?
Should 'filename' in the log report above be the site url being spidered, or the 'http://something' list the site I am trying to spider?
Is something in config.php preventing spider.php from doing its thing?
Getting closer.....