$num = $_POST['num'];
$dbserver = 'ompdb';
$dbuser = 'root';
$dbpwd = '123';
$charset = 'utf8';
$connect = mysql_connect($dbserver, $dbuser, $dbpwd) or die("无法连接数据库");
mysql_select_db($dbname, $connect);
mysql_query("set names $charset");
$insert_members = sprintf("INSERT INTO nx.number (number) VALUES (%s)", $num);
mysql_query($insert_members);
echo "active ok";
echo "";
?>
curl -D cookie -d "num=10000"
提交
阅读(949) | 评论(0) | 转发(0) |