tests
这个提交包含在:
父节点
5eb712053b
当前提交
90cd1eaa5e
共有 2 个文件被更改,包括 4 次插入 和 4 次删除
|
@ -4,7 +4,7 @@ include "script.php";
|
|||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
//CAS
|
||||
require_once("../phpCAS-1.3.6/CAS.php");
|
||||
|
||||
|
@ -43,7 +43,7 @@ if(isset($_POST['login'])) {
|
|||
$_SESSION = array();
|
||||
session_destroy();
|
||||
header('Refresh:0');
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
$_SESSION['id']=1
|
||||
|
|
|
@ -28,9 +28,9 @@ if($user['perm'] < 3) {
|
|||
$mot = htmlspecialchars($_POST["mot"]);
|
||||
$req = $db->prepare("INSERT INTO mots_croise(name,trouve) VALUES(?,?)");
|
||||
$req->execute(array($mot,FALSE));
|
||||
|
||||
echo "ajt";
|
||||
|
||||
}else{
|
||||
echo $_POST;
|
||||
}
|
||||
if(isset($_POST["SUPP_MOT"])){
|
||||
$req = $db->prepare("DELETE FROM mots_croise WHERE id=?");
|
||||
|
|
正在加载…
在新工单中引用