Floating-Point Arithmetic - Why is (int)((0.7+0.1)*10) = 7 ?
This article applies to PHP 5.x but also to PHP 7 While using floating-point arithmetic you might have noticed that not all the calculus results are as expected, this can usually be observed when cast…
Gabi DJ . Jan 26, 2016 Read more → Core ComponentsAvoid routing through bootstrap of non existent files
In some cases you may encounter missing files: images, css or js files. All those missing files are processed by the current bootstrap: index.
arhimede . Nov 29, 2013 Read more → Core ComponentsForcing UTF8 connections and character set in MySQL
In some situations, it may be neccesar to force MySQL server collation and character set to UTF8. As you can't control all scripts that are connecting to your database( for instance: mysql command lin…
arhimede . May 09, 2012 Read more → Core ComponentsCommitment to PHP - new Zend Certified Engineers - ZCE - in our team
Another 2 of our team members passed the ZCE exam. Now we are 5 :-) That mean we are really taking PHP into serious , and at least we have good technical skills.
arhimede . Apr 20, 2012 Read more → JavascriptIntro to jQuery
Starting with the 1.5 release, Dotkernel will make the switch from Dojo to jQuery.
Adrian . Jun 01, 2011 Read more → Best Practicehtaccess 301 redirect non-www to www
To always redirect users to the www site (for example: http://dotboost.com to http://www.
arhimede . Mar 14, 2011 Read more → Best PracticeUsing LIKE wildcards with Zend_Db
Continuing the Zend_Db article series, let's discuss the LIKE condition. The LIKE condition allows you to use wildcards in the WHERE clause of an SQL statement.
Teo . Sep 10, 2010 Read more → PHP DevelopmentPHP Environment : Development Staging Production
In hosted software development, the environment refers to a server tier designated to a specific stage in a release process. The purpose of these environments is to improve the development, testing an…
Teo . Jul 30, 2010 Read more → Best PracticeWhy use CURRENT_TIMESTAMP on a field that record date/time?
On a TIMESTAMP field that records date and time when inserting a new record, it is encouraged to use as a DEFAULT value, the CURRENT_TIMESTAMP constant. Why? Because when inserting a new row in the ta…
Teo . Jun 29, 2010 Read more → PHP DevelopmentProtection against SQL Injection using PDO and Zend Framework - part 2
Following the preview article about SQL Injection, here is more - a strong argument why you should use Zend Framework for handling database access. Zend_Db is the primary class used for access the dat…
Teo . Jun 18, 2010 Read more →Page 9 of 10 . 95 articles total