Category: programming languages
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 …
PHP is a popular web programming language that has been used in millions of website. Below are some simple tips of improving the PHP script, which can make the …
August 14, 2012
code, code library, FTP, HTML5, http, implementation, php, programming languages, SEO, tricks, web programming
I have been doing some SEO (Search Engine Optimisation) work lately to my website and now the page speed has improved quite a lot. In , it describes the …
Python provides a module timeit which allows quick timing of a piece of code. The straightforward example is given below. import timeit bar = timeit.Timer("a += 1", "a = …
The Iterator is an interface for external iterators or objects that can be iterated themselves internally. In PHP, it is defined as follows. Iterator extends Traversable { /* Methods …