Category: PHP

How to upgrade from PHP 5.3.x to 5.5.x on Windows 7 in 4 easy steps

I have been using PHP 5.3.29 on my PC for some time now as many PHP open source frameworks and applications had been supporting PHP version uptill 5.3.X. However with time PHP has progressed and with new and stable versions

Tutorial to create custom Magento module

I could not find one good tutorial on developing a custom module in Magento when I had a client requirement to develop one for his website. It was not like there weren’t any. If you Google “custom Magento module tutorial”

Tagged with: , ,

Script to check for malware on your website

After seeing a couple of websites getting infected by malware I decided on creating a script  which would inform the owner and the concerned technical staff at the slightest change in the website file system structure. The script does the

Tagged with: ,

How to customize your Zend Form fields to appear in columns

I received a requirement to change the form layout on a web page. I was not using any decorators on the form so the form was coming up in default format generated by Zend Form. This is the page which

Tagged with: ,

How to resolve the Zen Cart Illegal mix of collations error

We had deployed a Zen Cart website and we came up with the following error in the Zen Cart admin panel when clicking on the Tools -> Send Email link. Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) for operation ‘locate’

Tagged with: , ,

Integrate Zen Cart store to eBay with eBay Zen Cart module

Store owners who use Zen Cart for running their stores on the web can now enjoy the luxury of listing, revising and de-listing products on eBay all from their Zen Cart admin panel. Gone are the days when you needed

Tagged with: , ,

Recursion example using PHP

Recursion is a data structure by which a function is called several times till the condition which calls the function becomes true. I have seldom used it while coding but I would like to show you one particular instance where I

Tagged with: ,

Wish happy birthday to your customers from Zen Cart

Zen Cart by default requests a customer to enter his/her date of birth during registration. This is optional of course and can be removed from the Zen Cart admin panel. However one can make good use of this to regularly

Tagged with: ,

How to get the customer email address in Magento

I was recently working on a payment module for Magento and I needed to fetch the customer email address to submit it along with the other payment details. I found a method by which I could get the email of

Tagged with: ,

Improve bounce rate for slow loading web pages

Most websites take a lot of time while loading their category or product listing pages. Visitors don’t bother to wait long if they don’t see any visual progress in their browsers. For this reason it’s best to display a graphic

Tagged with: ,
Top