Einzelnen Beitrag anzeigen
  #5  
Alt 21.02.2003, 01:26:25
fly fly ist offline
Anfänger
 
Registriert seit: Feb 2003
Beiträge: 9
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?
Mit Zitat antworten