Re: File Use Help

From: Date: Wed, 12 Jul 2000 18:51:11 +0000
Subject: Re: File Use Help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6221@lists.php.net to get a copy of this message
I found it interesting that on 7/12/00 1:58 PM Boots said: > Is it possible to have an entry posted/write to a file via a web form > while reading this file be able to see the post as it is submitted with out > reloading a page??¿ Just display it on the screen before writing it to the file... form posts to showfile.php3 the form variable $contents. Open the file for writing write the contents of $contents to the file then display the variable $contents to the browser screen. Or... if you need more information from the file (say it's being appended to) then do: open the file for appending write the contents of $contents close the file open it for reading loop through it echoing the contents to the screen. all in one post. -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#6221) next »