Page 1 of 1

read & write

Posted: Fri Sep 26, 2003 11:20 am
by niekerk
I am a new php programmer! I am just wondering if it is possible to read content of a file do some processing and then create a new file to write the output to.
I have look through a lot of script examples but cant seem to find any that does what i described above.
If you have any script or links kindly let me know.

CNiekerk.

Posted: Fri Sep 26, 2003 11:26 am
by JayBird
heres some further reading for you

Reading file contents - http://se.php.net/manual/en/function.fread.php

Writing to file - http://se.php.net/manual/en/function.fwrite.php

MArk