Web ページで認証用のパラメーターを送信しようとしています。これはコードです
$url = "http://www.webpage.com/account/submit";
$handler = curl_init();
curl_setopt($handler, CURLOPT_URL, $url);
curl_setopt($handler, CURLOPT_POST,true);
curl_setopt($handler, CURLOPT_POSTFIELDS, "username=user@webmail.com&remember=true&password=123456");
$response = curl_exec ($handler);
curl_close($handler);
このスクリプトを実行しても何も表示されません。HTML フォームのない Web サイトに正常に認証しようとしています。. . これを行う別の方法があります???