note 103005 rejected from function.fopen by danbrown

From: Date: Sat, 19 Mar 2011 16:18:59 +0000
Subject: note 103005 rejected from function.fopen by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-178016@lists.php.net to get a copy of this message
Note Submitter: hpjc dot revolutionx at web dot de ---- I've a problem with r+! when I'm using it, it wouldnd write over my file! I need a function that does not add a file but can write over it! I'm using if(file_exists("data.txt")) { $i = fopen("data.txt", "w"); } but this isn't looking good! how do I overwrite only? Window 7 / xampp

« previous php.notes (#178016) next »