Re: [PHP] exec 'lynx' failed ??? From: Van (vanboers <email protected>)
Date: 09/29/00

Sonia Tsui wrote:
>
> Has anyone done this before?
> exec("lynx -dump http://mysite.com/cgi-bin/mytest.cgi", $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
=========================================================================

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>