//此页面为say.php<?include"signup/mysql.inc";if($id1){ $sql="select*from$tablewhereid='$id1'"; //显示回复题目 $result=mysql_query($sql)ordie(mysql_error()); &n...
http://www.jb51.net//article/1974.htm
//完毕wishyousucess!!#phpMyAdminMySQL-Dump#http://phpwizard.net/phpMyAdmin/##主机:localhost:3306数据库:database#--------------------------------------------------------##数据表的结构'bbs_html'#CREATETABLEbbs_html( idint(15)DEFAULT'0'NOTNULL, useridvarchar(20)NOTNULL, ...
http://www.jb51.net//article/1928.htm
+proto.menuBorder; varfocusItem=body.document.layers[n]; focusItem.clip.width=body.clip.width; &nbs...
http://www.jb51.net//article/1923.htm
//下面为menu_comment.jsfunctionfwLoadMenus(){ if(window.fw_menu_0)return; window.fw_menu_0=newMenu("root",92,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff"); fw_menu_0.addMen...
http://www.jb51.net//article/1920.htm
//下面是 top.js functionKB_keepItInIE(theName,theWantTop,theWantLeft){theRealTop=parseInt(document.body.scrollTop)theTrueTop=theWantTop+theRealTopdocument.all[theName].style.top=theTrueToptheRealLeft=par...
http://www.jb51.net//article/1919.htm
//此页面为look.php<?include"signup/mysql.inc";$sql="select*from".$table."whereid='$id'";$result=mysql_query($sql)ordie(mysql_error());$row=mysql_fetch_array($result);$number=++$row["number"];$sql="update$tablesetnumber='$number'whereid='$id'";mysql_qu...
http://www.jb51.net//article/1917.htm
//此页面为php3.php<?include"signup/mysql.inc";switch($part){ case"1":$table="bbs_php";break; case"2":$table="bbs_mysql";break; case"3":$table="bbs_html";break; cas...
http://www.jb51.net//article/1916.htm
如何限制访问者的ip(PHPBB的代码)Code: <?php/****************************************************************************admin_user_ban.php*-------------------*begin:Tuesday,Jul31,2001*copyright:(C)2001ThephpBBGroup*email:[email]support@phpbb.com[/email]**$Id:admin_user_ban.php,v1.21.2.22002/...
http://www.jb51.net//article/1663.htm
发布日期:2002-04-3漏洞类别:PHP,远程WEB接口,拒绝服务bugtraqID4432、4434存在问题的版本: phpBB1.44,更低的版本及phpBB2.0未测试。描述: phpBB是一个被广泛应用的基于PHP的论坛。发现其BBcode中对于“源代码”类的引用处理存在漏洞,通过发送特殊格式的转义字符串可导致数据库的损坏以及服务器的CPU、内存资源大量消耗。详细: phpBB在对“源代码”类的引用处理不当,主要是为了要支...
http://www.jb51.net//article/1619.htm
[code]<%Public Function UbbCode(strContent) Dim re Set re = New RegExp re.IgnoreCase = True &n...
http://www.jb51.net//article/1389.htm
我们存储在数据库中的内容是HTML格式的,但是有时候我们需要无格式的显示这内容,这是用正则表达式实现的过滤。[code]<%function nohtml(str) dim re Set re=new RegExp re.IgnoreCase =true re.Global=True re.Pattern="(\<.[^\<]*\>)" str=re.replace(str," ") re.Pattern="(\<\/[^\<]*...
http://www.jb51.net//article/1214.htm
