View Single Post
Old 11-28-2003, 04:56 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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);
*/ 
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote