Author Archives: Zack

New Website Released: Allbloglist.com

AllBlogList.com is a catalog website for blogs. It collects blogs from all over the world. You can submit your website to AllBlogList.com for free. It may help your blog to be visited by more and more people. AllBlogList.com is a free … Continue reading

Posted in Web Design | Tagged , , | Leave a comment

Panasonic Released Lumix DMC-G2 and DMC-G10

Panasonic released Lumix DMC-G2 and DMC-G10, new Micro Four Thirds cameras. They both have a 12.1 megapixel sensor and a 3″ LCD screen.  The G2 also has a twist-able LCD touchscreen, and supports 720p (AVCHD Lite) movie mode.

Posted in Gadget & Tech | Tagged , , , , , | Leave a comment

Choose a Syntax Highlighter Plugin for WordPress

More and more codes have been added to my blog, I used to wrap my codes with quote, it’s not enough for long codes. I need a syntax highlight plugin for my blog. I tested several syntax highlight plugins, including: … Continue reading

Posted in Plugins, Tutorials and Hacks | Tagged , , , , , | 2 Comments

Redirect Users According to Browser Language

I started a new blog Gearor.com, which is a gadgets and tech blog. I also set up a Chinese version using sub domain cn.Gearor.com. So I tried to do one thing, if visitors come with a Chinese browser, the website … Continue reading

Posted in Web Design | Tagged , , , | 2 Comments

Say Hello to Kohana 3

Kohana 3 has been released for a while. This is a redesign version of Kohana. Kohana 3 and 2 will both be in active, if you are new to Kohana, I suggest you to start with Kohana 3. The most … Continue reading

Posted in Web Design | Tagged , , , , , , , | 1 Comment

Addslashes or Mysql_real_escape_string to use to Avoid SQL Injection

I was reading some articles about avoiding SQL injection. People used to use addslashes() function, and later more and more programmers are using mysql_real_escape_string(). What’s the difference between these two functions? Alan Storm from StackOverFlow gives a description which is … Continue reading

Posted in Web Design | Tagged , , , , | 2 Comments

Design a Master CSS Stylesheet

Every time we start a new website, we need to write our CSS code from the beginning. Actually, many of the codes are the same as our previous website, like settings of blockquote, title(<h1> to <h6>), etc. I was thinking that … Continue reading

Posted in Web Design | Tagged , , , | 2 Comments

WordPress 2.9.2 Released – A Small Fix for Trash Posts

WordPress team just released the 2.9.2 version of WordPress, this is a small bug fix version, as Thomas Mackenzie reported that logged in users can see other users’ posts in Trash. You can fix this problem by upgrade your WordPress … Continue reading

Posted in Blog and WordPress | Tagged , , , , , | 2 Comments

An OOP Way to Work with MySQL Database in PHP

This is my learning note of PHP and OOP(Object Oriented Programming) from Brian Muse’s tutorial, if you are new to OOP, you may find something helpful in this post. If you are a professional, I would appreciate it if you … Continue reading

Posted in Web Design | Tagged , , , , , | 1 Comment

Google Releases Google Buzz

You may already know about Yahoo Buzz, and now Google is going to release Google Buzz, a new social networking feature of Google, which will be integrated into Gmail and available for mobile phone. One thing attracts me is that Google … Continue reading

Posted in Web2.0 & Tech | Tagged , , , , , , | 2 Comments