What I encountered when I used Sina Weibo to perform automatic login was that as a big newbie, even the login script was written by someone else and used it for modification, in the end, I realized that the script was used to obtain cookies. it was really slow to respond, or the principle of logging on without intention was quite complicated, as I thought, it was too simple to get the page from curl and then post it.
Sort out the price processing string functions:
"; Echo urlencode (" http: // ". $ encryption); // echo" http % 3A % 2F % 2 Fusername "; echo"
"; Echo sha1 ($ encryption); // echo" 249ba36da-29bbe97499c03db5a9001f6b734ec "echo"
";?>
Record their approximate appearance so that class processing can be quickly identified in the future.
For more articles about functions that may be used to encrypt strings in php, refer to the PHP Chinese website!