Trust me, i'm an engineer ! Brewing *nix since Year 2000

PHP with Smarty Template Engine 0

Autoloading Class Problem With Smarty

If you are using Smarty Template engine with your PHP code and you happen to use an autoloader, then you may have encountered an autoloading class problem with Smarty stating that the file “Smarty_Internal_TemplateBase” can’t be found and your script produces a FATAL error. Smarty is using it’s own autoloader using the spl_autoload_register method and our autoloader is messing it up.

PHP Programming Start to End 0

PHP Autoloading Class

Many developers writing object-oriented applications create one PHP source file per class definition. One of the biggest annoyances is having to write a long list of needed includes at the beginning of each script (one for each class).

In PHP 5, this is no longer necessary. The spl_autoload_register() function registers any number of autloaders, enabling for classes and interfaces to be automatically loaded if they are currently not defined. By registering autoloaders, PHP is given a last chance to load the class or interface before it fails with an error.

PayPal with PayMaya 182

How to Withdraw to PayMaya from PayPal

PayPal supports withdrawal to VISA cards and luckily your PayMaya card is powered by VISA. PayPal allows withdrawal feature, allowing you to transfer funds from your PayPal account to your Visa® branded credit, debit or prepaid card. This new feature will enable you to gain convenient access to your funds and is available in 26 countries, including Malaysia, India, Indonesia and the Philippines.

My28s Exclusive to Smart 2

MyPhone 28s is officially out of stock

The beloved and also hated MyPhone 28S is officially out of stock.

Being loved due to its power, price and bundled offers and at the same time hated for it’s low battery capacity and memory. The bad sides of this entry level phone but what do you expect from a phone exclusive to Smart priced at P888?

Digital sign your email with DKIM 4

Digitally Sign Your Email with DKIM

Digitally sign your email with DKIM (DomainKeys Identified Mail) and help prevent email spoofing on your side. DKIM adds a private key which stays in your server and a public key that stays in your DNS record. The outgoing email header that you send gets encrypted and the recipient servers then retrieve the public key to decrypt the incoming headers and verify that the messages really comes from your domain and was not altered while it is on transit.