PDA

View Full Version : Insert PhpDig in a website


pbpub
06-29-2004, 01:34 AM
Hello

Very nice script. But I have a problem. So I'll insert PhpDig in a website. The script is in http://www.theo4you.org/PHPDIG_DIR and I will insert it in http://www.theo4you.org/testrecherche.php. The relative path of PhpDig's root directory from the current script is ./PHPDIG_DIR (I think).

It doesn't go. There's nothing.

Thank you

vinyl-junkie
06-29-2004, 03:28 AM
Welcome to the forum, pbpub. :D

Are you trying to put a search box into a page that is in a different directory than phpdig? If so, look at this thread (http://www.phpdig.net/showthread.php?s=&threadid=839&highlight=every+page). You don't need to change the relative script path from the default value to do that.

Hope this helps. :)

pbpub
06-29-2004, 04:12 AM
I've this reply to http://www.theo4you.org/testrecherche.php:

Fatal error: Call to undefined function: phpdighttpvars() in /home/theo4you/public_html/testrecherche.php on line 19

vinyl-junkie
06-29-2004, 04:20 AM
Are you trying to spider your site from a different directory than where you have phpdig? You can't do that. That's probably why you're getting that error.

pbpub
06-29-2004, 04:28 AM
PHPDIG is in the directory http://www.theo4you.org/PHPDIG_DIR/ and the page http://www.theo4you.org/testrecherche.php. I'it not possible?

Charter
06-29-2004, 05:48 AM
http://www.phpdig.net/showthread.php?threadid=1013 :)

pbpub
06-30-2004, 04:26 AM
Is it onebody speaking french ?