Hi. Maybe try something like the following:
PHP Code:
// edit to fit your OS and script
if ($_POST['is_new_comment'] == "yes it is") {
$comment_page = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$comment_page = escapeshellcmd($comment_page);
$the_command = "php -f [PHPDIG_DIR]/admin/spider.php ".$comment_page;
exec($the_command);
}
/* set the following in config.php
define('SPIDER_MAX_LIMIT',0);
define('SPIDER_DEFAULT_LIMIT',0);
define('RESPIDER_LIMIT',0);
*/