sorry irgendwie funkt das nicht:
Code:
$getfile = "http://www.google.de/index.html";
$putfile = "output.txt";
$tmpfile = fopen($getfile, "r");
$tmpdata = fread($tmpfile, filesize($getfile));
fwrite($putfile,$tmpdata);
fclose($putfile);
fclose($getfile);
krieg bei fopen nen fehler:
Warning: stat failed for
http://www.google.de/index.html (errno=2 - No such file or directory) in testdl.php
ich entwickle auf ner windows kiste und der server ist linux.
is sowas wirklich so kompleziert, oder stell ich mich nur doof an?