It is necessary to write authorization through Curl in php, but there was one problem. The site somehow, in addition to the login and password data, must also receive the checkFormLogin parameter with a unique key. Typically, such data are in the same form with fields, only in a hidden version. And this site stores it is not known where it is not clear how to get it www.deezer.com/login In curl, CURLOPT_COOKIEJAR and CURLOPT_COOKIEFILE but there is little use.

enter image description here

  • It looks like protection from authorization bypassing the web-interface. Implemented in js most likely - Nikita Umnov
  • @NikitaUmnov I also think so, but maybe a temporary session. If so, it turns out, can not get through? - Vladimir
  • one
    here you need to understand. Analyze js on the site, in particular, the fragment responsible for submitting the form. Perhaps it will be possible to find something. And developers.deezer.com studied? It seems they have an API - Nikita Umnov
  • @NikitaUmnov thank you, this solved the problem, although the topic of the question is not entirely connected, so I don’t know what to do in this case. - Vladimir

0