Mailinglisten-Archive |
hi
> $fcontents = file ("/usr/local/httpd/tmp/test.csv");
> $str = chr (13);
> $newfile = str_replace($str," ",$fcontents);
> fwrite ("/usr/local/httpd/tmp/newfile.csv", $newfile);
deine letztre zeile iss falsch ..
> Ich bekomme immer folgenden Fehler:
> Supplied argument is not a valid File-Handle resource in
> /usr/local/httpd/htdocs/test1.php on line 14
logo ;))
muss ja auch heißen:
[ ... ]
$stream=fopen("/usr/local/httpd/tmp/newfile.csv","w+");
fwrite($stream,$newfile);
fclose($stream);
cu
tobias
~~~~~~~~~~~~~~~~~~~~~~~~~
Webmaster of Traffic - Eye
-- Das Traffic Auge deiner Webseite ---
-->Die erste Link-Protection im WWW <--
http://www.traffic-eye.de
ICQ: 86405621
php::bar PHP Wiki - Listenarchive