function msg($code){
$time = time();
$data = date("Y-m-d H:i:s",time());
$h = fopen('./a.txt','a');//写入方式打开文件a.txt,如果没有则创建之
fwrite($h,$time.$data."---".$code."\r\n");//把变量写入文件
fclose($h);//关闭文件
exit($code);
}
function msg($code){
$time = time();
$data = date("Y-m-d H:i:s",time());
$h = fopen('./a.txt','a');//写入方式打开文件a.txt,如果没有则创建之
fwrite($h,$time.$data."---".$code."\r\n");//把变量写入文件
fclose($h);//关闭文件
exit($code);
}