PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 02-03-2004, 07:55 AM   #1
baskamer
Green Mole
 
Join Date: Feb 2004
Posts: 9
locked site and commandlineinterface

Hi,

i'm wondering

1st:
is it true that the working directory must be the phpdig when spidering via cgi?

cd path_to_phpdig/
/usr/local/php/bin/php -f admin/spider.php http://***.***.nl >> spider_log.txt

2nd:
on OS X the $_SERVER[{'REQUEST_URI'] isn't present when working from the cli, thought uyou should know.

3rd:
a locked site doesn't give any feedback while updeting with the cli? correct? it just hangs, indefinitely
a die( with some message ) would be nice?

4th:
if my search page is here: /search.php
is it true that phpdig MUST be installed at / ?


How would I include phpDig into my own (search) page (form) and a result page.
The '$relative_script_path' seems to suggest I can only include the includes/config.php when it is next to my own search/result pages? is this assumption correct, and wouldn't it be more logical to have the choice of installation path to be anywere I like?

these are my first steps into this phpDig thing, nice product!


Bas
baskamer is offline   Reply With Quote
Old 02-05-2004, 08:03 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. For one, try using the full path to spider.php in the command line from outside the PhpDig directory, editing the config.php file if needed. For two, thanks. For three, add a space and ampersand to the end of the command to run the process in the background (the output is in the spider_log.txt file). For four and the rest, you can modify the $relative_script_path variable to install elsewhere if desired.
__________________
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.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Imcomplete spider : locked site but nothing append beausej Troubleshooting 1 07-18-2005 03:48 PM
Spidering Stops, Site is Locked after 7 Pages nevsie Troubleshooting 3 03-02-2005 03:52 PM
Locked Site olivier Troubleshooting 3 02-11-2005 06:21 AM
Locked xiodaos How-to Forum 1 06-14-2004 12:13 PM
Indexing always stops with locked site jamie Troubleshooting 3 01-06-2004 10:29 AM


All times are GMT -8. The time now is 05:24 AM.


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