note 98759 rejected from function.fwrite by visualmind

From: Date: Tue, 06 Jul 2010 09:53:56 +0000
Subject: note 98759 rejected from function.fwrite by visualmind
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170727@lists.php.net to get a copy of this message
Note Submitter: md-k at o2 dot pl ---- Hi everybody, I'm so sorry for my english, but i'm from Poland :) I have problem when i try to do guestbook. I want write down data until file on shape : "ID|+|DATE|+|NICK|+|CONTENT|+|". I have form with fields: nick and content, and 2 hidden field where is adding id (function date) and data (function date). I try with: <code> <? $fp = fopen('database.txt', 'r+'); fwrite($fp, $id. '|+|' .$data. '|+|' .$nick. '|+|' .$content. '|+|'); fclose($fp); ?> GOOD! </code> And this function do nothing :/ If someone knows how to do this, I was be very happy ;) But when i try to do, all is crash :/ PLEASE HELP ME !!!

« previous php.notes (#170727) next »