From: Gilles D. <gr...@sc...> - 2004-07-26 16:30:14
|
According to Ja...@gm...: > I try to output htdig search results in my php-site using this script: ... > $url = "http://172.16.16.13/cgi-bin/htsearch?" > . "words=$words" > . "&method=$method" > . "&sort=$sort" > . "&config=$config" > . "&search_algorithm=$search_algorithm" > . "&matchesperpage=$matchesperpage" > . "&match=match.php" > . "&result=result.php" > . "&page=$page" > . "&script_name=file_overview.php?action=search ... > It runs nice, but if I have more than one sites of matches,the first site is > ok (my layout), but the next sites are shown NOT in my layout, > but in the default output from htdig! > > > I cannot understand why! Has anybody some ideas? I suspect the problem is script_name, which you must set as a configuration attribute in your "config" file (e.g. htdig.conf), and not as a CGI input parameter. -- Gilles R. Detillieux E-mail: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) |