|
From: Torsten N. <tn...@in...> - 2002-11-07 11:37:52
|
On Thursday 07 November 2002 12:16, Manuel Jes=FAs 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=3Dciudad > > Why the result page is the same when it executes "htsearch -c > /etc/htdig.db2002.conf words=3Dciudad;page=3D2" ? > > Can you explain me the syntax of htsearch querystring in the command li= ne? > The "page" parameter seems like doesn't work. Ht://Dig may not honor the (more or less) new parameter delimiter charact= er=20 ";", depending on the version of Ht://Dig you are running. Instead, you=20 should use the traditional "&" to separate parameters on the command line= =2E Since you are using a script to post-process the output of htsearch, the=20 difference of using "&" instead of ";" would not be visible to the outsid= e=20 world, so your script still can use ";". hth, Torsten --=20 InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH Waldhofstra=DFe 14 Tel: +49-4101-403605 D-25474 Ellerbek Fax: +49-4101-403606 E-Mail: in...@in... Internet: http://www.inwise.de |