What does curl simulate login mean? Curl php simulated login
I have heard that php curl simulates login, but I never know what it means? Is the user name and password of the website sent to another website through socket for login? Please explain .......
Reply to discussion (solution)
Do you already know?
Send the user name and password of the website to another website through socket for login.
This is SSO.
It is also a kind of simulated login
Simulated login is to send the user name and password to the website through socket for login
I just guessed that he was doing so. now I am OK. thank you very much!
Module? Login? Step? :
$ Url = 'Your login ?? Way ';
$ User_login = '';
$ User_password = '';
$ Loginfields = "user_login = $ user_login & user_password = $ user_password ";
$ Ch = curl_init ();
Curl_setopt ($ ch, CURLOPT_POST, 0); // set how many paramaters to post
Curl_setopt ($ ch, CURLOPT_URL, $ url); // set the url we want to use
Curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ loginfields); // set the field
$ Data = curl_exec ($ ch); // execute and get the results
Curl_close ($ ch );
Accessible ???? Php outside the site, model? Someone filled in? Used? Name and password ?, Then submit? System ?.