liuqiao 3 周之前
父节点
当前提交
96ee8e4a1a
共有 2 个文件被更改,包括 11 次插入17 次删除
  1. 8 0
      caches/error_log.php
  2. 3 17
      phpcms/modules/formguide/index.php

+ 8 - 0
caches/error_log.php

@@ -9274,3 +9274,11 @@
 <?php exit;?>08-20 11:26:39 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
 <?php exit;?>08-20 11:27:05 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
 <?php exit;?>08-20 11:27:06 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:29:21 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:29:38 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:29:38 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:29:39 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:29:43 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:30:00 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:30:04 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56
+<?php exit;?>08-20 11:30:16 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | phpcms\libs\classes\mysql.class.php | 56

+ 3 - 17
phpcms/modules/formguide/index.php

@@ -85,24 +85,10 @@ class index {
 			
 
 			if(	$tablename=='form_xxcj'){ 
-				//  session_start();
-
-				// // // 存储session数据
-				//  $_SESSION['x'] = 'xz';
-		
-				 setcookie("xz", 'xz', time()+120, "/");
-				 showmessage(L('thanks'), HTTP_REFERER);
-				// $referer = $_SERVER['HTTP_REFERER'];
-				// $urlParts = parse_url($referer);
-				// parse_str($urlParts['query'], $params);
-				// $catid = $params['catid'];
-				// header("Location:".APP_PATH."index.php?m=content&c=index&a=lists&catid=$catid&v=1");//多了下载字段
-			
-
-			}else{
-				showmessage(L('thanks'), HTTP_REFERER);
+				 setcookie("xz", 'xz', time()+300, "/");
+				
 			}
-		
+			showmessage(L('thanks'), HTTP_REFERER);
 		} else {
 			if ($setting['allowunreg']==0 && !$userid && $_GET['action']=='js') {
 				$no_allowed = 1;