• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Parsing a file with PHP

spec

New Member
Ok so i have a log that i want to parse but only cetain parts.
say we have
1:00 Uselsess info: Blah Blah
1:01 Uselsess info: Blah Blah
1:02 Uselsess info: Blah Blah
1:03 Uselsess info: Blah Blah
1:04 Uselsess info: Blah Blah
1:05 Usefull info: woop woop
1:06 Useless info: Blah Blah

So i want my script to parse this info and take out woop woop
and do stuff with it
How do i first find "Usefull Info:"
and then take the information after that and use it
 
Back
Top