´óÏÀÃÇ£ºÏÂÃæµÄ³ÌÐòÔËÐÐʱ×ÜÌáʾÕâÑùµÄ´íÎó£º
Warning: mssql_query() [function.mssql-query]: message: 'date' ²»ÊÇ¿ÉÒÔʶ±ðµÄ º¯ÊýÃû¡£ (severity 15) in F:\guest\sub_guest.php on line 20
Warning: mssql_query() [function.mssql-query]: Query failed in F:\guest\sub_guest.php on line 20
°ï濴һϣ¬Ð»Ð»
<?php session_start();?>
<?php
$conn=mssql_connect("WWW-LIUWEI","","") or die("Êý¾Ý¿âÁ¬½Ó´íÎó£¡");
mssql_select_db("guest",$conn);
function unhtml($content)
{
$content=htmlspecialchars($content);
$content=str_replace(chr(13)," <br>",$content);
$content=str_replace(chr(13)," ",$content);
$content=str_replace(chr(13)," ",$content);
return trim($content);
}
$title=$_POST[title];
$content=$_POST[content];
$username=$_POST[username];
$sql="insert into guest(guest_title,guest_content,guest_username,submit_date)values('$title','$content','$username',date('Y-m-d'))";
$query=mssql_query($sql,$conn);?>
<script language="javascript">
window.alert(" <?php echo "ÁôÑԳɹ¦£¡"?>");
window.opener.parent.location="index.php";
window.close();
zend guard¼ÓÃܵÄphpÊÇ¿ÉÒÔÆÆ½âµÄ£¬ÓÐµÄ ËµÊÇʹÓú¯Êý»ìÏý¿ÉÒÔ¸üÄÑÆÆ½âһЩ¡£ÔõôʹÓÃÄØ¡£
»òÕß´ó¼Ò¸æËßÎÒÄÄÖÖ¼ÓÃÜ·½Ê½¸ü°²È«¡£Ð»Ð»ÁË¡£
ÎÒĿǰµÄzend guard°æ±¾ÊÇ4.0.1
ÎÞ½â
ÒýÓÃ
ÎÞ½â
²»¿ÉÄܰɡ£ÔÚÍøÉϲéÁ ......