[htdig] Re: [PHP3] Command-line ht://Dig/php exec...

Subject: [htdig] Re: [PHP3] Command-line ht://Dig/php exec...
From: Philip Coates (philc@noho.co.uk)
Date: Thu Nov 11 1999 - 08:24:50 PST


-----Original Message-----
From: Philip Coates <philc@noho.co.uk>
To: htdig@htdig.org <htdig@htdig.org>; php3@lists.php.net
Date: Thursday, November 11, 1999 1:02 PM
Subject: [PHP3] Command-line ht://Dig/php exec...

>Hi all,
>I wondered if anyone could shed any light on the following attempt to call
>ht://Dig through PHP. It returns with 0 results and an error of -2
>execution error). This was adapted from Torsten Neuer's htseach class
> exec("/home/www/cgibin/htsearch\"".
> "config=keywords&".
> "words=".EscapeShellCmd(UrlEncode($queryKeywords))."&".
> "keywords=".EscapeShellCmd(UrlEncode($keywords))."&".
> "page=".((string)$pageValue)."&".
> "sort=score&".
> "format=long&".
> "method=boolean&".
> "matchesperpage=5&".
> "restrict=".$this->getRestrictPattern()."\"",
> &$this->results);
>It looks to be OK, but I wondered if someone else might have a take on
>Huge TIA,
>NoHo Digital
>Floor 2, Canberra House
>315-317 Regent St
>London W1R 7YB
>phone: 44(0)207 299 3414
>mobile: 44(0)7711 818 384
>email: philc@noho.co.uk
>http: www.noho.co.uk
>PHP 3 Mailing List <http://www.php.net/>
>To unsubscribe, send an empty message to php3-unsubscribe@lists.php.net
>To subscribe to the digest, e-mail: php3-digest-subscribe@lists.php.net
>To search the mailing list archive, go to:
>To contact the list administrators, e-mail: php-list-admin@lists.php.net

To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word unsubscribe in
the SUBJECT of the message.

This archive was generated by hypermail 2b25 : Thu Nov 11 1999 - 09:50:55 PST