Author: ACMer
If you are familiar with the following screen, you are probably old enough LOL 😉 The following was used by TV Programme to indicate that ‘currently not available’, in …
We can implement (re-invent the wheel) file_put_contents and file_get_contents in PHP to write string to a file and read content as a string from file. file_put_contents is a PHP5 …
Python offers a module urllib and its advanced version urllib2 to allow downloading files from given URLs. The following shows three different ways to access the internet data. #!/usr/bin/env …
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 …
Sometimes if you want to extract some records from a table you can use the following SQL syntax select * from table order by rand() limit 10 Different SQL …