Page 1 of 1

Reading data from other pages

Posted: Sat Oct 25, 2008 10:06 pm
by runestomymemory
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.

Re: Reading data from other pages

Posted: Sun Oct 26, 2008 1:15 am
by novice4eva
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.