Tag: php web developer

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 …

Recursion example using PHP Read More »

Tagged with: ,

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 …

Wish happy birthday to your customers from Zen Cart Read More »

Tagged with: ,

I was recently provided a Google Base XML file by a client to load on one of his websites. The size of the XML file was over 20MB.  The format of the XML file was as follows: <?xml version=”1.0″?> <rss …

How to parse large sized XML files using PHP XML Parser Read More »

Tagged with: ,

mySQL has full text indexing and searching support from version 5.0 onwards however there are some limitations. If you need to implement full text indexing then please review points given below: 1. mySQL allows full text indexing on MyISAM tables …

Steps to implement mySQL FULLTEXT Read More »

Tagged with: ,

PHP offers a new and fast way to parse XML files. This approach makes it easier to parse very large XML files in a couple of seconds. Here goes the code to parse a sample XML file. The XML in …

How to parse an XML file in PHP using XML parser Read More »

Tagged with: , ,

If you want to read all the files a zip file contains and extract those files to a location on your computer then you can do the following. First of all make sure that the zip package is included in …

How to read a zip file in PHP Read More »

Tagged with: , ,

Downloading a file is easy but what if you had to download a file through your page and save it on our machine. Well here goes. We use our friendly CURL library in PHP for this. You can use the …

How to download a file using CURL in PHP Read More »

Tagged with: , ,

AJAX is a wonderful technology that provides the visitor with a “no refresh” experience on the web. With the advent and popularity of Web 2.0 this technology is making progress by leaps and bounds. If you would like to verify …

How to use AJAX to check user already exists or not in PHP Read More »

Tagged with: , ,

If you are facing problem on step 3 of Drupal installation where you enter your database name, username and password and after clicking Continue button the page just refreshes blanking out everything then the following fix applies to you if …

Problems while installing Drupal 6.x Read More »

Tagged with: , ,