Welcome! Log In Create A New Profile

Advanced

Auto RE-INDEX Sphider

Posted by pcboxsearch 
Auto RE-INDEX Sphider
February 21, 2012 02:08AM
Can you help me

I want a spider can work auto index without having to re-index admin

with the auto update function is great for spiders

My example [url=http://www.example.com/admin/spider.php?all=1]http://www.example.com/admin/spider.php?all=1[/url]

Here we have to update / re-index the manual

I want to add on a website to do auto update

<?php
/*******************************************
* Sphider Version 1.3.*
* This program is licensed under the GNU GPL.
* By Ando Saabas ando(a t)cs.ioc.ee
*
* Thanks to Antoine Bajolet for ideas and
* several code pieces
********************************************/

set_time_limit (0);
$include_dir = "../include";

// include "auth.php"; (I delete it so that everyone can update)

require_once ("$include_dir/commonfuncs.php"winking smiley;
$all = 0;
extract (getHttpVars());
$settings_dir = "../settings";
require_once ("$settings_dir/conf.php"winking smiley;

include "messages.php";
include "spiderfuncs.php";
error_reporting (E_ALL ^ E_NOTICE ^ E_WARNING);








but out error.

Access denied for user 'root'@'localhost' (using password: NO)

Can you help me understand still learning
Re: Auto RE-INDEX Sphider
March 01, 2012 07:48AM
You need to include the DB connection file (\settings\database.php)
Sorry, only registered users may post in this forum.

Click here to login