|
hello everyone,
i am new to the more complex parts of PHP. Is it possible to host a script that will allow a user to scan local text files and take out certain parts of it? i am trying to get item links from a games log file. here is what it looks like ~
1154824696)[Sat Aug 05 20:38:16 2006] \aNPC 13172 Cliffjumper:Cliffjumper\/a says, "Welcome! What can I help you with?"
(1154824700)[Sat Aug 05 20:38:20 2006] Starting broker transaction with Cliffjumper.
(1154824700)[Sat Aug 05 20:38:20 2006] \aNPC 13172 Cliffjumper:Cliffjumper\/a says, "Confound it! Where did I put that ledger? It must be around here somewhere!"
(1154824701)[Sat Aug 05 20:38:21 2006] \#C7CFC708/05/2006 04:52 PM Jacky buys 20 \#FFFFFF\aITEM 1602851716 -119212747:Superior Elixir of Deftness\/a\#C7CFC7 for \#FFEE701g, \#A0A0A083s\/c
the orange part is a piece of a log and the red is a sample of what i want to get out of it and put it in a database. is something like that possible?
any help, links or anything would be great.
thanks
|