易截截图软件、单文件、免安装、纯绿色、仅160KB

将 Apache 及 PHP 的版本隐藏

导读:  
 Apache:  
 开启 httpd.conf,加入以下两行:  
 QUOTE:  
 ServerTokens ProductOnly  
 ServerSignature Off  
 PHP:  
 隐藏 PHP 版本就是隐藏 "X-Powered-By: PHP/5.1.2-1+b1" 这个,开启 php.ini,加入:  
 QUOTE:  
 expose_php = Off  
 Apache 禁止目录浏览:  
 禁止目录浏览  
 打开文件:httpd.conf  
 查找并定位到下面这行:  
 QUOTE:
 Options Indexes FollowSymLinks  
 去掉这一行的 Indexes 即可,
 完成以上两个设定后,重新启动 Apache 即可。


相关文档:

PHP实现首页自动选择语言转跳

http://www.111cn.net/phper/19/dd73e6624c92e49e7755d3b43719677d.htm
很多网站在首页上做一些链接,让用户来选择将要访问的各自的语言页面,让中国人选择“中文”,韩国人选择“朝鲜语”,等等。那么能不能做程序来自动帮助选择呢?
答案是肯定的,大家都在用google,你用中文系统打开google的首页 ......

php Mod rewrite test

In the directory where you plan to install Elgg, do the following:
Create the file .htaccess and add these two lines
RewriteEngine on
RewriteRule ^testing.php$ modrewrite.php
This tells the webserver to load modrewrite.php when testing.php is
requested.
In order to get this test to work on ......

[转]PHP中str_replace函数的详解


在实际的程序开发中,执行字符串替换操作是一件非常经常的事,对
str_replace
函数的实用也会非常频繁。
     
这段时间在看《
PHP

MySQL Web
开发》一书看到
str_replace
讲解,一段小提示写到:可以为
str_replace
的三个都使用数组传入,但讲解比较简单,于是决定自己的试验 ......

[转]PHP分页显示制作详细讲解


<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@宋体" ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号