hi all,
i am new to php.
I have to make a script to write a text file only 20 lines in a condition that if already 20 lines then replace them with new 20 lines.
And if there will be a pair of line have to be inserted the remove the first two lines and append the new lines to the end.
And i am getting the lines from http post.
my data is in each http post is as follows
nickname= abc
message= something message text
i dont have to use database the only text file.
Any help will be appriciated
Thanks in advance
reading text file
Moderator: General Moderators