$compte, "password"=>$password); $curl = curl_init(); $url = "http://api.alterop.net/users/login/"; curl_setopt($curl, CURLOPT_URL,"$url"); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($field)); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; } } ?> SB Admin 2 - Bootstrap Admin Theme