-
完美解决添加删除windows组件中没有Internet Explorer增强的安全配置”项
最近安装系统 发现Internet Explorer增强的安全配置”非常烦人 于是决心去掉 结果发现添加删除组件中没有Internet Explorer增强的安全配置”项 最后采取这样办法解决 点击开始—》运行–》》输入%systemroot%\inf\SYSOC.INF 》》回车 打开文件后 吧里边的内容复制出来另存 然后复 ...
-
关闭Windows 2003 IE增强的安全配置教程方法
在使用win 2003的时候用IE浏览器打开网站都会提示”Internet Explorer增强安全配置正在阻止来自下列网站的内容”这样的问题。需要把每个网站都要设置成白名单可信任站点才可以打开。 那到底如何设置关闭Windows 2003 IE增强的安全配置呢? 在添加删除组件中,把勾选”Internet Explorer 增强 ...
-
XAMPP for mac 配置多个站点
配置多个站点 由于 XAMMP 默认站点必须放在 /Applications/XAMPP/htdocs/ 目录下 打开 /Applications/XAMPP/etc/httpd.conf 搜索 Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf 保前面没有 # 号 然后打开 /Applications/XAMPP/etc/extra/httpd-vhosts.conf 文件 ServerAdmin ...
-
让XP 3389支持多人登陆的方法
slyar_3389.rar 下载上面工具 CMD下吧,先用tasklist /svc命令得到TermService的PID,然后编辑一下文件夹里的slyar3389.bat,把“pid”里的PID改成你得到的数字,保存退出。 以下为bat内代码,查看到TermService PID后 在bat文件里修改 PID 为 查到的结果 @net stop sharedacces ...
-
过滤SQL关键字,mysql入库字段过滤
/** * 过滤SQL关键字,mysql入库字段过滤 * @param $val 要过滤的字符串 * @return mixed */ function sql_replace($val){ $val = str_replace(“\t”, '', $val); $val = str_replace(“%20”, '', $val); $val = str_replace(“%27”, '', $val) ...
-
移除xss代码
/** * 移除xss代码 * @param $val 要过滤的字符 */ function remove_xss($val){ // remove all non-printable characters. CR(0a) and LF(0b) and TAB(9) are allowed // this prevents some character re-spacing such as // note that you have to handle splits with \n, \r, and \t later since they ...
-
php屏蔽某个IP和IP段
//禁止某个IP $banned_ip = array ( “127.0.0.1”, //”119.6.20.66″, “192.168.1.4” ); if ( in_array( getenv(“REMOTE_ADDR”), $banned_ip ) ) { die (“您的IP禁止访问!”); } //禁止某个IP段 $ban_range_low=ip2long(“129.26.120.3”); $ban_ ...