PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Re-indexing with crontab (http://www.phpdig.net/forum/showthread.php?t=1133)

ZoRaC 07-28-2004 03:28 AM

Re-indexing with crontab
 
My host doesn't allow me to run "php" from crontab.
I have some other scripts too, and I've solved the problem by using "wget" on the URL's.

The problem is that when I use wget on spider.php it get's the login-page.

Any way around this?

Charter 07-28-2004 04:24 PM

Hi. Do you mean it gets the PhpDig login page? If so, you could set the following in the config.php file, but if you do, then PhpDig would not be protected:
PHP Code:

define('PHPDIG_ADM_AUTH','0'); 


ZoRaC 07-28-2004 10:02 PM

I know that's a possibility.
I could do that, and the protect it by .htaccess (username:password@site.com/search/admin/spider.php)

I'll try that! :)


All times are GMT -8. The time now is 07:52 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.