Greetings PHP(eople),
I have a wget process that runs to download a file from a web site,
however, if no file exists at the location I`m pulsing, how do I get it
to abort ?
Here is the code :
?php
$getfile = 'wget -dv -o log.txt http://www.somesite.co.za/somefile.php';
$get =
On Fri, 2005-04-08 at 09:47, Chris Blake wrote:
Greetings PHP(eople),
I have a wget process that runs to download a file from a web site,
however, if no file exists at the location I`m pulsing, how do I get it
to abort ?
Here is the code :
?php
$getfile = 'wget -dv -o log.txt
Chris Blake wrote:
Greetings PHP(eople),
I have a wget process that runs to download a file from a web site,
Why would you do that ? There're bultin functions in PHP for doing it.
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP General Mailing List (http://www.php.net/)
To
On Fri, 2005-04-08 at 13:52, Josip Dzolonga wrote:
Chris Blake wrote:
Greetings PHP(eople),
I have a wget process that runs to download a file from a web site,
Why would you do that ? There're bultin functions in PHP for doing it.
wget was the first thing I thought of :)
--
Chris
Chris Blake wrote:
wget was the first thing I thought of :)
You thought wrong :-) Are you are going to parse the file after you've
downloaded it ? See this function, http://www.php.net/file_get_contents
, if allow_url_fopen is set to TRUE in your php.ini, there will be no
problems opening a
5 matches
Mail list logo