simonced
08-04-2004, 01:39 AM
Hi everybody,
I encounter a small problem. It doesn"t seem to be difficult to solve, but I don't manage to find on my own.
Here's the problem.
I want to cron a daily indexing.
But, first, I try on command line :
---
$ php-cgi /[...absolute path...]/spider.php
Content-type: text/html
X-Powered-By: PHP/4.3.1
$
---
That's all !!! I get nothing else.
I watched into the spider.php and discovered that the auth is not used when in command line. But, I discovered that the script stops running at the line :
include "$relative_path/includes/config.php";.
So, I don't get what happen.
Thanks by advance for you help.
I encounter a small problem. It doesn"t seem to be difficult to solve, but I don't manage to find on my own.
Here's the problem.
I want to cron a daily indexing.
But, first, I try on command line :
---
$ php-cgi /[...absolute path...]/spider.php
Content-type: text/html
X-Powered-By: PHP/4.3.1
$
---
That's all !!! I get nothing else.
I watched into the spider.php and discovered that the auth is not used when in command line. But, I discovered that the script stops running at the line :
include "$relative_path/includes/config.php";.
So, I don't get what happen.
Thanks by advance for you help.