Here is the string I have from a server:
70.90.184.9 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
The data I need pulled out should be like this:
$ip = "70.90.184.9"
$os = "Intel Mac OS X 10_8_4"
Is there a RegEx to get the IP out easily in PHP? And what about the OS?
Thanks!