date_default_timezone_set()设置时区

<?php

echo function_exists(date_default_timezone_set)."<br>";//在这他总是返回1,这函数是判断这里面的字符是不是一个定义了的函数名
echo date('Y-m-d H:i:s')."<br>";//默认时区的时间 (continue reading...)

apache的配置方面入手来详解apache调优

调优是一个大主题,涉及面颇广。目前受条件所限,大部分人可能只能从apache本身入手调优。所以本文将主要从apache的配置方面入手来详解apache调优。希望对正在使用apache的朋友有所裨益,有什么问题欢迎交流探讨,大家共同学习共同进步! (continue reading…)


index_search配置注意事项

有朋友配置index_search后indexing总是没有效果,最可能原因就是页面禁止缓存了. (continue reading…)


502.Bad Gateway!

Bad Gateway!

The proxy server received an invalid response from an upstream server.

If you think this is a server error, please contact the webmaster. (continue reading…)

1 Comment more...

Apache.Keep Alive.配置

在 Apache 服务器中,KeepAlive 是一个布尔值,On 代表打开,Off 代表关闭,这个指令在其他众多的 HTTPD 服务器中都是存在的。 (continue reading…)


RTE Lightbox

http://typo3.org/extensions/repository/view/rtelightbox/current/

(continue reading…)


jfcloudzoom

http://typo3.cms-jack.ch/de/erweiterungen


ASCII


css hack

CSS hack由于不同的浏览器,比如Internet Explorer 6,Internet Explorer 7,Mozilla Firefox等,对CSS的解析认识不一样,因此会导致生成的页面效果不一样,得不到我们所需要的页面效果。 这个时候我们就需要针对不同的浏览器去写不同的CSS,让它能够同时兼容不同的浏览器,能在不同的浏览器中也能得到我们想要的页面效果。

s.

(continue reading…)


[JS] – 判断IE6和IE7

<script>
    var browser=navigator.appName;
    var b_version=navigator.appVersion;
    var version=b_version.split(";");
    var trim_Version=version[1].replace(/[ ]/g,"");
    if(browser=="Microsoft Internet Explorer"
       && trim_Version=="MSIE7.0"){
        alert("IE 7.0");
    }else if(browser=="Microsoft Internet Explorer"
              && trim_Version=="MSIE6.0"){
        alert("IE 6.0");
    }
</script>

Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress