Re: exec 'lynx' failed ???
| From: | Van | Date: | Fri, 29 Sep 2000 22:26:18 +0000 |
| Subject: | Re: exec 'lynx' failed ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18131@lists.php.net to get a copy of this message | ||
Sonia Tsui wrote:
>
> Has anyone done this before?
> exec("lynx -dump http://mysite.com/cgi-bin/mytest.cgi",ùð
> Š
‡¨Ä=IîHIH $result,$ret_val)
>
> I got a return value of 255, which means the exec of 'lynx' failed. I
> don't know why though. Anyone know why?
>
> ---Sonia
Sonia:
Give it the full path.
exec("/usr/bin/lynx -dump http://mysite.com/cgi-bin/mytest.cgi",
$result,$ret_val)
Van
--
=========================================================================
Linux rocks!!! http://www.dedserius.com
=========================================================================