原创 鄙人最新作JS爲數據添加標籤解析標籤

// JavaScript Document /** *封裝標籤 *解封裝標籤 *[cn]中文[/cn] *[en]英文[/en] **/ var judgeTag=function(str,tagName){//判斷是否含有tag標籤

原创 linux下自動修復mysql數據庫和表

mysqlcheck –check-upgrade –all-databases –auto-repai 這句話有點問題 你可能會遇到1045 這句話應該是這樣 mysqlcheck --check-upgrade --all-datab

原创 coentos修改ip網關dns

CentOS 其實有個setup的命令,是圖形的,可以很方便的修改一些參數。 在centos中想運行setup命令來配置或查看某些參數,但遇到如下錯誤提示: [root@loft4669 ~]# setup -bash: setup: c

原创 兼容IE6的fixed定位,解決閃動問題

對於非IE6可以這樣寫 #top{ position:fixed; bottom:0; right:20px; } 但是IE6是不支持fixed定位的,需要另外重寫 #top{ po

原创 JS原型繼承實例

function object(o) { function F() { } F.prototype = o; return new F(); } // 要繼承的父對象 var parent = {

原创 解決centOS在webmin安裝後外部主機不能訪問的問題

一般webmin安裝成功後可以訪問,但是centos中的防火牆規則比較嚴密 用curl http://localhost:10000 可以看到內容,但是外部無法訪問,原因是防火牆沒有開啓10000端口,需要將10000端口加入到信任規則中

原创 centos安裝wget

yum -y install wget

原创 CentOS安裝samba

安裝Samba服務器之間,需要關閉SELinux。 安裝Samba yum install cups-libs samba samba-common編輯smb.conf配置文件 vi /etc/samba/smb.conf請確保在配置文件

原创 phpcms緩存總結

phpcms使用的緩存方式總結 a.模板編譯緩存 參考文件include/global.func.php及include/template.func.php 模板編譯緩存的原理其實很簡單,如果模板是第一次編譯,則直接編譯它,如果不是第一次

原创 Linux下安裝svn

1 SVN簡介 The goal of the Subversion project is to build a version control system that is a compelling replacement for

原创 CentOS一鍵安裝LAMP

用環境: §                                系統支持:CentOS-5(32bit/64bit)、CentOS-6 (32bit/64bit) §                              

原创 httpd: Could not reliably determine the server's

httpd: Could not reliably determine the server's fully qualified domain name 在windows下安裝好apache服務器後,重新啓動後,回出現上面的錯誤,只要把/

原创 IE6支持min-height,max-height等的方法

1、IE6支持max-height解決方法    IE6支持最大高度解決CSS代碼: .yangshi{max-height:1000px;_height:expression((document.documentElement.cli

原创 分頁類改進

// JavaScript Document /** *分頁類 * **/ /***************************************************/ var pageFunc=function(){

原创 IE6純色背景(黑色)半透明

_background:transparent;_filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c000000,endColorstr=#4c00000