Jump to content

PHP File or Fsocket Help


kuhn

Recommended Posts

Hi,

 

What I'm trying to-do is spider a persons friends on myspace to create a list of all the profiles so I can gather information. Just to get something clear first, this isn't about spamming, friend adding or anything else like that, it is for my project at uni to-do with user privacy on the internet.

 

Right my problem... if you go on a friends link for example:

 

http://friends.myspace.com/index.cfm?fuseaction=user.viewfriends&friendID=727701

 

You get presented with 40 friends on a page and to get between pages you have to use links like:

 

javascript:__doPostBack('ctl00$cpMain$pagerTop','2 ')

 

Obviously for page 3 it'd be:

 

javascript:__doPostBack('ctl00$cpMain$pagerTop','3 ')

 

And so on.

 

Right what can I do? I know how to get information from an url either using file() or by creating a function using fsockopen and then fputs to send a request. Which is fine if I just want one page of friends.

 

What I can't do is work out how to spider each page of the friends list because of the Javascript.

 

Thanks in advance to anyone that can help me here,

Peter

Link to comment
https://forums.phpfreaks.com/topic/52453-php-file-or-fsocket-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.