Reading data from other pages
Moderator: General Moderators
-
runestomymemory
- Forum Newbie
- Posts: 1
- Joined: Sat Oct 25, 2008 10:00 pm
Reading data from other pages
I'm a complete noob at PHP, however I desperately need to write a simple script that reads the last login date and name from a MySpace profile and outputs it on a blank page, and repeats this around 20 times on different profiles to create a rough list of when certain people logged in (for a study on the habits of certain people). What would be needed to do this? Visiting each profile is time-consuming, and a big frame-filled page is retarded.
- novice4eva
- Forum Contributor
- Posts: 327
- Joined: Thu Mar 29, 2007 3:48 am
- Location: Nepal
Re: Reading data from other pages
I suggest you look into CURL. CURL will allow you to login to the site and fetch the output from it, and then i think you will need another tricky regex to capture the date and name.