A normal command
$ lynx -source "http://www.yahoo.com" > yahoo.out
works well under shell, but when I put it into PHP codes like
<?php
system("lynx -source \"http://www.yahoo.com\" > yahoo.out");
?>
only can I get the content as ": No such file or directory".
How to solve this problem or is any there alternative way?
I don't want to use "wget" cause it doesn't support cookie.
Thank you!