exec lynx -dump failure
| From: | Compu-Creations | Date: | Fri, 01 Oct 2004 20:42:40 +0000 |
| Subject: | exec lynx -dump failure | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198459@lists.php.net to get a copy of this message | ||
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