January 2009

Top Sites Visited on Internet, Download the Free Top Sites List (Top 1,000,000 Sites in Traffic)

Alexa, the traffic company under Amazon is now releasing the top sites ranking data free. Updated daily, it’s currently the most authoritative top sites ranking data by traffic you can find on the Web. Download the list here. It presents the 1 million sites most visited around the globe. Other than Alexa, you can also …

Top Sites Visited on Internet, Download the Free Top Sites List (Top 1,000,000 Sites in Traffic) Read More »

Free Reverse Domain & IP Tool for Other Websites or Domains on the Same Server

Privacy policy? You don’t have privacy anyway. Well that’s just a saying about how you can never be private on Internet as it’s always possible to digg out who you are in real life by bits and pieces you left about yourself everywhere on the Web. Reverse domain tool comes handy when you want to …

Free Reverse Domain & IP Tool for Other Websites or Domains on the Same Server Read More »

Free Online Visual Trace Route Tool

Trace route (command) is a common network diagnostic tool to debug network problems or check how data is passed through the whole network through all different kinds of computers, routers and such. A visual trace route tool, however, draws the data passage in illustrative diagrams or on a map for visionary perception graphically. You Get …

Free Online Visual Trace Route Tool Read More »

Free WordPress Hosting and Much More – DreamHost Apps Free Hosting Invitation

DreamHost is soon going to be offering absolutely free WordPress hosting! It comes with all possible managed features and with Google Apps pre-installed with your chosen domain — which can be xxx.dreamhosters.com or your own top level .com. Actually there’s more than just WordPress. With every free hosting account, you have WordPress, Drupal, ZenPhoto, phpBB, …

Free WordPress Hosting and Much More – DreamHost Apps Free Hosting Invitation Read More »

PHP Array Length Function to Get Length of Arrays

PHP Arrays are collections of items identified and ordered by index. Array length is just the number of elements it contains. For an array: <?php $greetings = array( ‘Good morning!’, ‘Good afternoon!’, ‘Good evening!’ ); ?> The length of array in PHP code above is simply the number of strings contained in it, in this …

PHP Array Length Function to Get Length of Arrays Read More »

Which is better for AJAX requests, GET or POST?

As per HTTP protocol specifications, client browsers send http post requests in two-step processes: 1) send the headers, 2) send the data. Therefore, for websites with high volume traffic, it’s definitely preferable to choose GET method for AJAX requests over HTTP, because all it takes for GET to get out is a URL request, which …

Which is better for AJAX requests, GET or POST? Read More »

Extended CSS Sprites for Foreground Images <img>

CSS Sprites is a popular way to reduce image requests to the server and hovering lag to load another background image cased by network latency. Jenny has also devised a technique for foreground image CSS sprinting by Extending CSS Sprites which in essence bears all the merits of the original CSS Sprites method. Basic concept …

Extended CSS Sprites for Foreground Images <img> Read More »

The Monthly Wave

Does anybody know that it’s a perfect wave of how the month names would look like if aligned left vertically? December January February March April May June July August September November December January Creepy, huh! (wink wink) 😀

HTML DocType Text: World’s Tiniest and Shortest HTML DocType Declaration

Dustin Diaz made an interesting discovery to trigger “standards mode” with just a tiny little declaration instead of the regular lengthy one we see everywhere. As opposed to “standard mode“, there’s this “quirks mode” in IE that accommodates legacy HTML code of no standards at all — rendering them in many different ways compared with …

HTML DocType Text: World’s Tiniest and Shortest HTML DocType Declaration Read More »

How to Do Keyword Research – From Keyword Seed List to a Profitable Niche

This tiny little tutorial is meant for SEO beginners. Just for instance, if you never heard of what a seed list is or how to do keyword research, you are one. Keyword seed list is a list of keywords you gather for further keyword research which may very well contain thousands of related keywords about …

How to Do Keyword Research – From Keyword Seed List to a Profitable Niche Read More »

Elements with display:block and height gains 100% width and don’t float in IE6

As we all know that with a style rule of width or height, an element gains hasLayout in Internet Explorer and it triggers the IE proprietary rendering algorithm. Though this trick solves many weird problems in IE, especially IE6, it does come with a few issues as well. For example, when you need a top …

Elements with display:block and height gains 100% width and don’t float in IE6 Read More »

What are the Mandarin Chinese web safe fonts?

As I’m a mainlander Chinese, I can only speak for those computers and browsers who live in central P.R.China. If you are making a design for or in Mandarin Chinese, especially Simplified Chinese, beside those common English web safe fonts such as Arial and Verdana shipped in MS Windows by default that 95% mainlander Chinese …

What are the Mandarin Chinese web safe fonts? Read More »

How to pass variable values in URL from page to page with PHP?

You can see dynamic URLs everywhere on the web with busy interactive sites. Variables and their values are passed from one page to another in this way. Or more precisely, a page served in PHP (a single file php script) can accept external input in the form of a dynamic URL such as http://www.asite.com/[email protected]&subject=hi&body=bye. In …

How to pass variable values in URL from page to page with PHP? Read More »

Using JavaScript to Open Excel and Word Files in HTML

One of the main reasons that you might need this is that Microsoft Excel and Word documents pervade. They are perfect media to store, display and distribute information and ideas. A rather straightforward approach is to simply link that document up. <a href=”bank/sheet.xls” >some excel file</a> Another approach is via JavaScript. <script type=”text/javascript”> function openExcel(strFilePath) …

Using JavaScript to Open Excel and Word Files in HTML Read More »

SQL: INSERT INTO … SELECT … to generate or combine records from existing ones and insert into an existing table

Update: Here is a more advanced use of INSERT INTO … SELECT … to combine multiple tables into one. While CREATE TABLE … SELECT … mix and mingle records by column from other tables into a table that’s created on the fly, INSERT INTO … SELECT … insert those generated or combined records into an …

SQL: INSERT INTO … SELECT … to generate or combine records from existing ones and insert into an existing table Read More »

SQL: CREATE TABLE … SELECT … to generate new table from existing tables

CREATE TABLE … SELECT comes rather useful when you need to generate reports from existing tables or do a mixture. The title just shows the basic usage of it, for instance, to create a new table xxx from 2 columns in yyy, namely col1, col2. After executing SQL: CREATE TABLE xxx SELECT col1, col2 FROM …

SQL: CREATE TABLE … SELECT … to generate new table from existing tables Read More »

Scroll to Top