<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>untitled</title>
<script language="javascript">
<!--
function rec_delete(message){
return confirm(message);
}
//-->
</script>
</head>
<body>
<?php
$myrow[guest_name]="asdf\"";
$myrow[guest_name]="asdf'";
$guest_name=addslashes($myrow[guest_name]);
//$guest_name=str2js($myrow[guest_name],"'");
$dele_mess="真的要删除这个留言吗?\\n留言姓名:$guest_name($myrow[guest_ip])"."\\n留言时间:$myrow[guest_time]";
echo "<script>";
echo "delete_mess=\"$dele_mess\"";
echo "</script>";
?>
<a href="<?php echo "$php_self?opt=delete"; ?>" onclick='return rec_delete(delete_mess)'>删除</a>
</body>
</html>
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器