Curl PHP Demo Login
Always heard PHP curl simulation landing, but always do not know what meaning? Will the user name and password of this website be sent through the socket to another website to achieve landing? Please explain ....
Reply to discussion (solution)
Didn't you already know that?
The user name and password of this website will be sent through the socket to another website for landing
This is SSO.
is also a kind of simulation landing
Analog login is to send the user name and password, through the socket sent to the website implementation login
I'm just guessing he's so accomplished, and now I'm sure, thank you very much!
The step of the die?:
$url = ' Your login?? ' Face ';
$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);
Tong???? Outside of the PHP, mold, someone to fill in the name and secret, and then submit the department?