Perhaps try one of the following...
Code:
// save output in spider.log
exec("/usr/bin/php -f /path/to/admin/spider.php http://www.site.com/document.doc >> /path/to/spider.log");
// save output in $out variable
exec("/usr/bin/php -f /path/to/admin/spider.php http://www.site.com/document.doc",$out);
__________________
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.
|