Grabbing data from another site (eg ESPN) with PHP

Al Neri

Diamond Member
Jan 12, 2002
5,680
1
81

I'd like to grab data from ESPN, case in point:

http://sports.espn.go.com/mlb/playe...le?statsId=6610

Grab this line into a string Season 84 295 41 80 19 1 14 42 2 .271 .333 .485

I can modify the data and split it up if I can get that into a string (just keep looking for the space and getting things before it, etc.)

Any idea on how to do this easily?