i have a school project to make a game in php so i need a function that will delete the content of a ".txt" file.. the idea is that every time the user go to page1.php a variable is put in a text file named "game.txt" and when the user go to the next page page2.php, it will load the content of game.txt.... what i want to do is to erase the content of game.txt after loading it in page2.php.... any suggestions??
2007-02-02
11:03:38
·
1 answers
·
asked by
sam_f
4
in
Computers & Internet
➔ Programming & Design