Hi LordShryku....
How do I call this function using the following code, it shouldn't delete the last line from the text file unless I call the php function by a little (secret)msg which trigger the function to delete the last line from the php which is located on the server.
$message = str_replace("(deleteMsg)","HERE is your PHP code... I think??",$message);
(deleteMsg)=this is a little secret code that I write in a shoutbox message field.. so when I write this "(deleteMsg)" It shouldn't post a message, it should just call the "delete the last line" function...
ok..ok... let me show you an example... so you know what I really want..
Letz say I want to post a smilie picture... I just write on a message field 🙂 and the php code for this is:
$message = str_replace("🙂","<Img src="smiling.gif">",$message);
so that code post a picture... I think you got the point... The very same way I want to delete the last file function to be called...
I just don't know how should I call it... thats it..
(sorry for the lage explanation..)
thanx in advance..
-GM