exec lynx -dump failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux