|
Posted by "Richard Lynch" on 08/25/05 20:40
On Thu, August 25, 2005 6:26 am, Michelle Konzack wrote:
> Curently I do it with wget and by hand using a bash script,
> but like to integrate it into my php4 webinterface.
<?php exec("wget $URL", $output, $error);?>
http://php.net/exec
You really don't want to re-write all of wget.
And I doubt that anything in PHP to do what wget does will out-perform
exec + wget
You can also exec() your bash shell script, or combine the wget and
your script into one script to execute.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|