How to Convert Date or Time to any Timezone and Dateformat with PHP
Date manipulation is a common and extremely useful development task. It was never easy with PHP, until PHP5 and DateTime class. There are many cases you need to convert dates.…
Date manipulation is a common and extremely useful development task. It was never easy with PHP, until PHP5 and DateTime class. There are many cases you need to convert dates.…
Sometimes you want to check if a string represents a valid timezone. Using PHP versions greater than 5.2, timezone_identifiers_list() could be a solution. Take a look in the following function:…
If you are a web developer, you need to refer to various log files, in order to debug your application or improve its performance. Logs is the best place to…
Prepared statements must be used in application development with databases. There are two main reasons: performance: parameterized queries with prepared statements reduces the database load, reusing access plans that were…
Browser (and browser version) detection is an "all time classic" development requirement. jQuery.browser WAS an excellent solution, but it was removed in jQuery 1.9. Actually, it would be better to…