raimis100 Posted April 3, 2008 Share Posted April 3, 2008 I have been trying to login in the blogger accont using curl post method but it seems that the site generates some kid of code each time so the url changes. I just wanted to ask If anybody here knows how to get around it if possible ? Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/ Share on other sites More sharing options...
MadTechie Posted April 3, 2008 Share Posted April 3, 2008 Their login page is moving ? Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/#findComment-508273 Share on other sites More sharing options...
raimis100 Posted April 3, 2008 Author Share Posted April 3, 2008 loginSecurityToken=wneLMkV5dfBfZvpOqZ-pBk48-Bk%3D%3A1207230804513&d=%2Fhome&Email=exempleemail&Passwd=exemplepass&PersistentCookie=yes&ok=Sign+in loginSecurityToken=6zO-5UXspv5iLJNx3cNkewh3nCE%3D%3A1207230910760&d=%2Fhome&Email=exempleemail&Passwd=exemplepass&PersistentCookie=yes&ok=Sign+in Its some kind of code for security I guess ... I need advice for this 1 really badly Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/#findComment-508440 Share on other sites More sharing options...
trq Posted April 3, 2008 Share Posted April 3, 2008 Unfortunately I doupt there is a way around this. This value would be stored in a server side session cookie and checked against to make sure your accessing the page from a valid form. This is put in place to stop people doing exactly what your attempting to do. Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/#findComment-508446 Share on other sites More sharing options...
MadTechie Posted April 3, 2008 Share Posted April 3, 2008 the fact your trying to write a curl to login without their permision seam a little suspect to me!! Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/#findComment-508449 Share on other sites More sharing options...
raimis100 Posted April 3, 2008 Author Share Posted April 3, 2008 suspect ? This was good 1 If I wont be able to do it with the curl then I will need start to make some plugins Thnx guys Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/#findComment-508457 Share on other sites More sharing options...
trq Posted April 3, 2008 Share Posted April 3, 2008 If I wont be able to do it with the curl then I will need start to make some plugins The point is that this number would be generated when the form is generated. The number is then stored in the $_SESSION array. Once the form is submitted the submitted number is checked against the value in the $_SESSION. If it doesn't match, they know you weren't using there form. Access denied. Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/#findComment-508468 Share on other sites More sharing options...
MadTechie Posted April 3, 2008 Share Posted April 3, 2008 its like a CAPTCHA, its very design is to stop automated systems Quote Link to comment https://forums.phpfreaks.com/topic/99321-question-about-curl-with-blogger/#findComment-508470 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.