read & write

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
niekerk
Forum Newbie
Posts: 9
Joined: Fri Sep 26, 2003 11:20 am

read & write

Post 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.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post 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
Post Reply