PhpDig.net

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

Reply
 
Thread Tools
Old 11-18-2003, 12:59 PM   #1
jedi_diah
Green Mole
 
Join Date: Nov 2003
Posts: 1
Post $refine $refine_url $site

There seems to be a lack of information on the descriptions of $refine, $refine_url, and $site. I have found that if I wish to limit the search to only one spidered site then I can use the $site variable. The $site variable corresponds to the site_id field in the site table. By putting two hidden fields in the search form called site and refine, then setting site equal to the site_id number and refine equal to "1", I can search a specific site.

<input type="hidden" name="site" value="5">
<input type="hidden" name="refine" value="1">

If anyone has further information on any of these comments and questions please respond to this thread.

Last edited by jedi_diah; 11-18-2003 at 01:19 PM.
jedi_diah is offline   Reply With Quote
Old 11-18-2003, 02:42 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The $site variable indicates what site, the $refine variable indicates whether to limit results to a certain site, and if refining results, the $refine_url variable is set to refine=1&site=$site&path=$path and used in the links for pagination.
__________________
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

Thread Tools

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
refine search to two or more urls fmehl How-to Forum 2 10-01-2006 12:52 PM
Refine search, but not based on path kristian Mod Submissions 0 01-28-2005 06:10 AM
Remove refine and dropdown menu DawnMTeo How-to Forum 1 07-11-2004 06:05 AM
refine search but not based on path... zevince How-to Forum 3 07-08-2004 08:30 AM
refine problem Killersushi Troubleshooting 2 01-25-2004 10:48 PM


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


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