摘要:
1 <?php 2 try { 3 $dsn = "mysql:host=localhost;dbname=数据库名"; 4 $username = "数据库名"; 5 $password = "数据库密码"; 6 $pdo = new PDO($dsn, $username, $password) 阅读全文
摘要:
1 <?php 2 error_reporting(0); 3 //if($_COOKIE["ck"])die("刷新过快!"); 4 if($_COOKIE["ck"])header("Location:https://www.geh3408.top/");//这里如果用户刷新过快,给予终止php 阅读全文