Category: PHP

Adeel Sarfraz does freelance website design/development/marketing along with mobile applications

How to resolve “I am unable to logout from my Joomla website” problem

A new solicitor firm based in the UK signed up for website maintenance with our company. The website had been developed in Joomla and running for the past 1 year. The first issue they reported was that their members were not able to log out from the website even if they clicked on the logout…
Read more

March 2, 2012 0

An alternative way to check mySQL version in the Magento check script

Magento, like most other open source softwares, provides a list of requirements which need to be fulfilled before it can be installed on your machine. If you are installing Magento for the first time then I would recommend that you read the server requirments. on the other hand there may be some who would like…
Read more

January 19, 2012 0

How to parse large sized XML files using PHP XML Parser

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 version=”2.0″ xmlns:g=”″ xmlns:c=”″> <channel> <title>Company Name</title> <description>Company Name Description</description> <link></link> <item> <g:id>TEST</g:id> <title>Test Product Name</title>…
Read more

January 18, 2012 0

Never ignore page authority of your web pages

Web pages on your website have a page authority which are assigned by search engines and so even though they may seem like not generating a lot of traffic you should not ignore them and try to use them directly or indirectly on your website. We recently updated a client website based on WordPress and…
Read more

December 27, 2011 0

Bulk generate search engine friendly URLs in Zen Cart using Fast Updates

Our SEO department had recently made a request to implement CEON URI mapping module on one of our leading furniture retailer store in the UK. The module was implemented by the developer assigned to the project in a couple of hours and the website was handed over to the concerned department so they could continue…
Read more

December 2, 2011 4

How to display custom error message in Zend Captcha

The client recently requested to change the text of the default Zend CAPTCHA error message to just Incorrect Code when a visitor tries to submit the form without entering the CAPTCHA code in the input box beneath the image. That was pretty easy enough as Zend provides you the option to override the default error…
Read more

October 14, 2011 0

How to verify email address using the Zend Email Validator

Zend framework provides some nice validators to validate the data input by your visitor/customer. If you want you can write your own custom validator and use it in your code. The one I would like to discuss today is the Zend Email Validator which is really wonderful in that you don’t need to write any…
Read more

October 11, 2011 0

How to fetch images from remote server using PHP

We were updating the products on a client website from a new supplier. The supplier provided a CSV file containing the list of products and related information however they did not provide any product images. After browsing their website I found that they had saved all of their product images by the SKU name of…
Read more

September 24, 2011 0

Steps to integrate Google Base with Zencart

Google Base is a place where you can easily submit all types of online and offline content, which will be searchable on Google Shopping product search. You can describe any item you post with attributes, which will help people find it when they do related searches. In fact, based on your items’ relevance, users may…
Read more

August 18, 2011 0

How to display featured pages in WordPress

I was working on a WordPress website for a client and one of the client requirements was to display featured pages on the home page. If you do a Google for this term you are most likely to find results for featured posts, related posts etc. However I found one plugin which fit the requirements…
Read more

June 20, 2011 0