I have 2 text boxes, and want it to write them to a txt file

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
bow-viper1
Forum Newbie
Posts: 2
Joined: Fri Aug 01, 2003 2:02 pm

I have 2 text boxes, and want it to write them to a txt file

Post by bow-viper1 »

I have 2 text boxes, and want it to write the text in them to a text file on the server, it will have write all permissions, so that isn't a problem, but is this possible in PHP?
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

yes

Post by phpScott »

Yes it is possible to do that in php.

go to http://ca2.php.net/manual/en/function.fwrite.php as the fwite function allows you to write to a file.

If you need more help then the example there let us know and we will more then gadly help you with your script.

phpScott
Post Reply