I have a text file with the following:
and using fopen I want to show ONLY the last input as:
echo '<b>$lastu:</b> $lastmsg';
excluding time and IP address..
i.e Admin: Welcome
Can anybody pls help me?
Code:
JAR |Welcome post your comment/request what you want one .smile. |127.0.0.1|Aug 22nd, 2012 - 10:55pm|jarloft|blaaaaa Hackyboy|Hey,this is just wat I thot! .lol.|127.0.0.1|Aug 22nd, 2012 - 10:59pm|jarloft.tk|jaysean@gamil.com Hackyboy|Welcum to the home of mobile downloads .smiles. |82.145.208.33|Aug 23rd, 2012 - 9:38pm|jarloft.tk|Hackyboy@fine.tk Young|Plz .sad. I need 2go + Opera ScreenShort @HACKYBOY help me out|82.145.208.171|Aug 25th, 2012 - 3:42pm|jarloft.tk|Hacky@gmail.com JAR|Are here to put smile .smile. in your face by uploading all requested so dont be sad .sad. becouse we have been busy fixing some errors|65.255.37.191|Sep 3rd, 2012 - 8:38pm|mega.tk|go@u.co JARLOFT|We Are here to put smile .smile. in your face by uploading all requested so dont be sad .sad. becouse we have been busy fixing some errors|65.255.37.191|Sep 3rd, 2012 - 8:42pm|mega.tk|g@m.co Deva|Please give php script like yours|116.202.134.57|Sep 4th, 2012 - 8:01am||obe@gmail.com JAR|All ready uploaded|82.145.208.31|Sep 6th, 2012 - 2:08am|jar.tk|H@m.co H4hope|.lol. Pls i need d script 4 reg,profile,login and forum dat i can use in any site|82.145.217.49|Sep 10th, 2012 - 3:04am|naija.tk|Incredible@yahoo.com JAR|Ok, dats is html work with one trick i will upload it|82.145.209.178|Sep 11th, 2012 - 8:00am|jar.tk|H@c.me Ken|Pls naijahost.tk is my webhost site and i login to my control panel after register but cant find the FTP access and details|141.0.8.192|Sep 24th, 2012 - 7:35pm|ken.tk|Kenn@gmail.com Blog|Hai... Join me http://m.de|82.145.210.126|Sep 25th, 2012 - 3:29pm|m.de|Admin@blog.es Deva|Please upload any php website|65.255.37.187|Sep 26th, 2012 - 6:44am||obet@gmail.com JAR|KENNERYZ go to our forum http://9j.tk DAVE check the site|65.255.37.195|Sep 27th, 2012 - 1:14pm||Ha@co.com Cl***ic|.sad.|82.145.216.71|Sep 29th, 2012 - 6:36am|cod.tk|Ad@yahoo.com Cl***ic|Pls i nid waploaded script|82.145.216.71|Sep 29th, 2012 - 6:37am|cd.tk|Adenu@yahoo.com Admin|Welcome .smile.|217.212.230.214|Jan 3rd, 2013 - 9:25pm|grandwap.tk|mjb@gmail.com
and using fopen I want to show ONLY the last input as:
echo '<b>$lastu:</b> $lastmsg';
excluding time and IP address..
i.e Admin: Welcome
Can anybody pls help me?
Comment