This article will share with you the code of the message board made using php in combination with text files. it is very simple and implements common functions. we recommend it to you for your reference. This article will share with you the code of the message board made using php in combination with text files. it is very simple and implements common functions. we recommend it to you for your reference.
The code is very simple, so we don't need to talk nonsense. we can directly provide the code:
Del. php
My message board
Delete message
DoAdd. php
My message board
Add message
Index. php
My message board
Add message
Liuyan.txt
Anshen ###### 1426588557 #127.0.0.1 @@@
Show. php
My message board
Add message
Message title |
Contact |
Message content |
Message time |
IP address |
Operation |
$ V) {$ ly = explode ("#", $ v); echo"
"; Echo"
$ Ly [0] | "; Echo"
$ Ly [1] | "; Echo"
$ Ly [2] | "; Echo"
". Date (" Y-m-d H: I: s ", $ ly [3] + 8x3600 )." | "; Echo"
$ Ly [4] | "; Echo"
Delete | "; Echo"
";}}?>
Menu. php
Add messages to my message board to view messages
The above is all the content of this article. I hope you will like it.