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 line, or mysqldump) For that , open … Read More
Best Practice
Commitment 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. Zend Yellow Pages
How to Set a Persistent Connection to Database with Zend Framework Zend_Db adapter
This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 or above related posts, go here. From time to time, it may be a good idea to have a persistent connection to … Read More
Zend Server 5.5 Quick Setup on Windows
In order to make usable a fresh installation of Zend Server 5.5.0 on Windows 7, and be ready for development , few quick steps are required: … Read More
Protecting admin folder with .htaccess in Plesk
This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 or above related posts, go here. In /var/www/vhosts/exampledomain.com/conf/vhost.conf file add this code: AuthType Basic AuthName “My Site Admin” AuthUserFile … Read More
Golden Rules of Professional PHP Coding
1. Always use in development and in staging highest error reporting level, and display_errors ON: error_reporting(-1); ini_set(‘display_errors’, 1); 2. Fix every warning or notice that occur. 3. Check regularly server’s error_log for notices/warnings 4. Identify any temporary hack with a … Read More