Beispiel #1
0
 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;
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 public function check()
 {
     $this->response = $this->curl->getURL("http://cafe.naver.com/LoginCheck.nhn?m=check")["body"];
     return strpos($this->response, "LOGIN") ? true : false;
 }