Page 1 of 1
Saving to a txt file
Posted: Fri Jul 30, 2004 11:34 am
by Slane
I am trying to make a posting script. Where the users would post and see there message and see others, but I can't figure out a way to save to save the messages. As in have like one .txt(flatfile I think) to each topic. I am trying to make a simple forum you could say. And I cannot figure out how to save the topics and or messages! Any help?
Posted: Fri Jul 30, 2004 11:37 am
by feyd
what code do you have so far? have you found the functions like [php_man]fopen[/php_man]()/[php_man]fwrite[/php_man]()/[php_man]file_get_contents[/php_man]()?
Posted: Fri Jul 30, 2004 12:29 pm
by Slane
i have more or less no coding done, just three boxes two input and then on the next page three boxes where it is displayed. So I really need to learn how to save the messages into one big topic(
http://slane.somewhat-useless.com/blah) and after I can get them to save I can figure the rest out myself
Posted: Fri Jul 30, 2004 12:35 pm
by d3ad1ysp0rk
Well, check into the functions he linked you to, and post here with any questions
Good luck.