Jump to content

curl problem with URLs


remlabm

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

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.