Most likely, lynx is not in the PATH of the user that the webserver is
running as, and may not have permission, if it was.

Try telneting in and finding the absolute pathname to lynx, and user that in
your exec statement and see what happens. Might also help if you redirected
stderr to a file so you could read the error that it encounters when you try
to exec lynx in a script.




On 4/7/01 10:15 PM, "Junaid MAnsoor" <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> i have php as an apache mod. i want to exec lynx from php. but when i have
> typed the following command
> 
> exec("lynx http://mywebsite.com");
> 
> OR
> passthru("lynx http://mywebsite.com");
> 
> 
> 
> 
> it simply does not show any output, just a blank page. I think its the prb
> of permission. Please help me how can i configure it to work for me.
> 
> Junaid Mansoor
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to