Mailinglisten-Archive |
hallo nochmals ;)
naja, es ist schlicht und einfach an den "" gescheitert, das war das
problem, nun laeufts. das w+ ist schon okay, das schreibt, liest und
erstellt sofern das file noch nicht vorhanden ist. vorallem UEBERSCHREIBT es
ein bestehendes..
aber merci ...
-az
-----Original Message-----
From: Pascal Schult [mailto:info_(at)_schuborg.de]
Sent: Friday, January 28, 2000 11:17 AM
To: php_(at)_solix.wiso.Uni-Koeln.DE
Subject: Re: [php] file oeffnen, das nicht existiert
Hi Adrian..
> $datei = fopen("$xdateiname","w+");
> oeffnen und was hineinzuschreiben. das geht aber irgendwie nicht... hat
> jemand einen anderen loesungsansatz?
>
habs zwar nicht probiert, aber im manual function.fopen.html steht doch:
'a' - Open for writing only; place the file pointer at the end of the
file. If the file does not exist, attempt to create it.
also:
$datei = fopen("$xdateiname","a");
oder liege ich da falsch?
ciao...
--
** Durchgehend geöffnet: http://www.php-center.de **
Die PHP-Liste: mailto:php_(at)_infosoc.uni-koeln.de
http://infosoc.uni-koeln.de/mailman/listinfo/php
php::bar PHP Wiki - Listenarchive