コード例 #1
0
ファイル: SendMail.php プロジェクト: HerO-0110/EmailAuth
 public function getAId($id)
 {
     echo "getAId()\n";
     $html = $this->curl->postURL("http://mail.naver.com/json/write", "orderType%3Dnew%26lists%3D%26charset%3D%26u%3D" . $id)["body"];
     file_put_contents("c:\testcode.txt", $html);
     echo $html;
 }
コード例 #2
0
ファイル: AbuserCheck.php プロジェクト: HerO-0110/EmailAuth
 public function check()
 {
     //{"result":{"abuser":false,"csImageUrl":"","csKey":""},"isSuccess":true}
     $response = $this->curl->postURL("http://cafe.naver.com/AbuserCheckAjax.nhn", $this->checkData)["body"];
     return strpos($response, "isSuccess\":true") ? true : false;
 }
コード例 #3
0
ファイル: LoginCheck.php プロジェクト: HerO-0110/EmailAuth
 public function check()
 {
     $this->response = $this->curl->getURL("http://cafe.naver.com/LoginCheck.nhn?m=check")["body"];
     return strpos($this->response, "LOGIN") ? true : false;
 }