PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   $refine $refine_url $site (http://www.phpdig.net/forum/showthread.php?t=228)

jedi_diah 11-18-2003 12:59 PM

$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.:D

Charter 11-18-2003 02:42 PM

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.


All times are GMT -8. The time now is 07:28 PM.

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