On Thursday 07 November 2002 12:16, Manuel Jes�s Aguilera Castro wrote: > Hello friends! I need your help. > > I'm using a PHP script that executes a command line like this: > > htsearch -c /etc/htdig.db2002.conf words=ciudad > > Why the result page is the same when it executes "htsearch -c > /etc/htdig.db2002.conf words=ciudad;page=2" ? > > Can you explain me the syntax of htsearch querystring in the command line? > The "page" parameter seems like doesn't work.
Ht://Dig may not honor the (more or less) new parameter delimiter character ";", depending on the version of Ht://Dig you are running. Instead, you should use the traditional "&" to separate parameters on the command line. Since you are using a script to post-process the output of htsearch, the difference of using "&" instead of ";" would not be visible to the outside world, so your script still can use ";". hth, Torsten -- InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH Waldhofstra�e 14 Tel: +49-4101-403605 D-25474 Ellerbek Fax: +49-4101-403606 E-Mail: [EMAIL PROTECTED] Internet: http://www.inwise.de ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev
