note 22419 added to function.fopen

From: Date: Mon, 17 Jun 2002 21:43:11 +0000
Subject: note 22419 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-31951@lists.php.net to get a copy of this message
I have two questions.. First: I want to set the pointer to the beggining of the file i save to. the r variable does that, but it does overwrite the text which is in the file, and i dont want the.. only want it to add new in the top of the savefile..how ? Second: I've made a guestbook, and i want it to separate every 10 messages into new pages..so i have to make it count entries, then make a new savefile, chmod it..and make a link to that file in the read page of the guestbook.. Thanks :) Please answer :) Greetings. Chariot -- http://www.php.net/manual/en/function.fopen.php http://master.php.net/manage/user-notes.php?action=edit+22419 http://master.php.net/manage/user-notes.php?action=delete+22419 http://master.php.net/manage/user-notes.php?action=reject+22419

« previous php.notes (#31951) next »