post.php(發新貼圖)
疑難題;
if (!$cookie_user)
{echo "<script>"; <br>echo "parent.location.href='index.php'"; <br>echo "</script>";}
else {include ("connect.inc.php");
$query = "從 my_user 中選擇*,其中 user='".$cookie_user."' 和密碼='".$cookie_password."'";
$res = mysql_query($query);
if (!$res)
{echo "";}
include "connect.inc.php";
if ($theme) {$content=htmlspecialchars($content);
$content=nl2br($content);
$theme=htmlspecialchars($theme);
$主題=nl2br($主題);
$query = "INSERT INTO guestbook (name,type,theme,content,icon,time_open,time_close,answer_count,answer_name) VALUES ('".$cookie_user."',1,'".$theme."' ,'".$content."',".$icon.",now(),now(),1,'".$cookie_user."')";
$res = mysql_query($query);
if ($res)
{echo "";}
else echo $query;}}
?>
=0 cellPadding=0 cellSpacing=0 width="100%" class=body_br>
;
表格>
【論文版權歸作者與奧索網共同擁有,如需轉載,請版權作者及出處】
http://www.bkjia.com/PHPjc/316684.html
www.bkjia.com
true
http: //www.bkjia.com/PHPjc/316684.htmlTechArticlepost.php(發新貼子) HTMLHEADTITLE疑難問題/TITLE LINK href=mypic/style.css rel=樣式表type=text/css/HEAD ?php if (!$cookie_user) {echo 腳本語言='javascript';迴聲p...