post.php(発行新贴子)
疑难问题 if (!$cookie_user)
{echo "";}
else {include ("connect.inc.php");
$query = "select * from my_user where user='".$cookie_user."' and passwd='".$cookie_password."'";
$res = mysql_query($query);
if (!$res)
{echo "";}
include "connect.inc.php";
if ($theme) {$content=htmlspecialchars($content);
$content=nl2br($content);
$theme=htmlspecialchars($theme);
$theme=nl2br($theme);
$query = "ゲストブックに挿入 (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;}}
?>
|
フォーム>
【本文版权归作者与奥索网共同拥有,如果转下,请注明作者及出处】
http://www.bkjia.com/PHPjc/316684.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/316684.html技術記事 post.php(発行新贴子) HTMLHEADTITLE疑难问题/TITLE LINK href=mypic/style.css rel=STYLESHEET type=text/css/HEAD ?php if (!$cookie_user) {echo script language='javascript';エコープ...