View Full Version : Parameters in phpdigSearch

03-16-2004, 02:09 PM
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,

03-22-2004, 10: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.