Jump to content

Recommended Posts

i have done a ton of trouble shooting to get down to the exact problem.... i do a curl function to myspace to login and then go to a certain page and return that page... not its not used for spam, its actually to retrieve images.

 

ok if i specify the page example:

 

http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=35712808

 

works fine.... if i do some parsing work with regex to retrieve the "View More Pics" link from the profile page, it returns the EXACT SAME THING... but myspace erros out...

 

since there is alot of protected passwords and stuff on there i dont wanna just put the code up... and it is a work in progress... but like i said i can specify the page... it works... parse... it returns the EXACT same URL try to load it... dies... ive checked for trailing chars or any other bs.... everything looks to be good....

 

if you think you got an idea... hit me on AIM: remlabm  so i can show you the script so you can see exactly what is going on.

Link to comment
https://forums.phpfreaks.com/topic/73151-curl-problem-with-urls/
Share on other sites

little more info ... i did some urlencode to see if there were some extra values and infact there are

 

as you can see both look the same

http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=35712808

http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=35712808

 

but if i urlencode them... first one is diff... and the firstone is the one that breaks

http%3A%2F%2Fviewmorepics.myspace.com%2Findex.cfm%3Ffuseaction%3Duser.viewAlbums%26amp%3BfriendID%3D35712808

http%3A%2F%2Fviewmorepics.myspace.com%2Findex.cfm%3Ffuseaction%3Duser.viewAlbums%26friendID%3D35712808

 

not sure why its returning that though

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.