/* Opens the file in the current dir and allows read only parimiters to
it (R) */
$foo = fopen(foo.txt, R);

/* This then sends the contents to the browser for output */

That is REALLY basic if you want some more functions (which your probably
will) for file handling go to http://www.php.net/manual/en/ref.filesystem.php
Hope this helps!


On Mon, 20 May 2002, Rodrigo wrote:

> Hi guys:
> What I need is a php file that will read a text file and show it on a
> html file.
> And it will also write to a text file, but at the end of the file.
> Thanx, Rodrigo de Oliveira Costa.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to