Archives

Archive for 2005-8

JavaScript Triggers

By Peter-Paul Koch
The front end of a website consists of three layers. XHTML forms the structural layer, which contains structural, semantic markup and the content of the site. To this layer you can add a presentation layer (CSS) and a behavior layer (JavaScript) to make your website more beautiful and user-friendly. These three layers should […]

Install Counterize plugin for WP in php5 environment

I downloaded a counter-plugin-Counterize for my word press,but after I installed it,I found that in the Counterize entries table the IP,URl,Referer,UserAgent are all “unknown”.

And after I read the source code of counterize.php I found that the syntax

getenv(“REMOTE_ADDR”)

is different in PHP4 and PHP5.In PHP5 The syntax should be

$_SERVER[‘REMOTE_ADDR’]

You can download the […]

First blog

Welcome to My blog. I started it in Aug 12 2005.