PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Parameters in phpdigSearch (http://www.phpdig.net/forum/showthread.php?t=681)

sanford 03-16-2004 01:09 PM

Parameters in phpdigSearch
 
I'm new to the phpDig and this forum so many apologies if this has already been answered.

Is there a good definition somewhere for the the input parameters of the phpdigSearch() function...

specifically the variables:
$refine, $refine_url, $site, $limite, $option, $lim_start, and $browse.

I couldn't figure out exactly what they do looking at the code.

What I'm trying to do is to do a search on a single site or a subset of sites within the multiple sites that have been spidered. I'm guessing that this is possible somehow by correctly setting these parameters above.

Many thanks,
Sanford

Charter 03-22-2004 09:00 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, the $browse variable does urldecode and helps prevents over inflated stats, the $lim_start variable is used in pagination, the $limite variable sets the number of results per page, and the $option variable indicates the type of search to perform.


All times are GMT -8. The time now is 03:43 AM.

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