Tag: functions
The wordpress shortcode is a great feature that we can easily add via the add_shortcode function. This post introduces two shortcode functions in WordPress to get the top 10 …
You can easily use Shell.Application to invoke methods related to Windows such as minimize all windows. For example, if you require users choosing a folder you can invoke the method BrowseForFolder. The …
A group of commands in windows batch can be enclosed by brackets. The commands are treated as a single one and this is often used together with if, for …
In Javascript, functions are objects. Therefore you can define objects by using functions like the following. function Person(name, age) { this.name = name; this.age = age; } var Jack …
August 20, 2012
adsense, algorithms, apache server, implementation, php, programming languages, SEO, technical, tricks, web programming
Checing if a visitor being a search bot is easy. You can use one of the globals, the $_SERVER to check if it contains bot-like string. For example, many …