Hello,
I have a problem in getting lynx to run through the exec function.
Here is my code ...

$cmd = "/usr/bin/lynx -dump http://freebsd.razvan.ca/copydir.php 2>&1";
exec($cmd,$err);
print_r($err);

I'm not sure what the problem is but I get this back ..

Array ( [0] => /root/: No such directory )

Based on the documentation the above code should work ...

If someone can give me a hand with this, I would greatly appreciate it...

Thank you for your time ...

Raz

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to