[Magento] Set Up Blog in Magento Admin
Many eCommerce websites have their blog pages along with shopping cart. Wordpress is the most popular for blogging but if you are using Magento and want a blog in your website than you can use Magento’s extension for installing blog. Reason for using Magento’s extension for blog is to manage shopping cart and blog from one admin panel.
[PHP] What is the difference between sort & asort in php ?
Many times developers are not aware with the core functions of PHP. PHP have sort and asort built in array functions. You may or may not be aware with these functions. But when you will face a PHP interview than you may be asked for this question.
[PHP] Warning: Cannot modify header information when Create a COOKIE
When you create COOKIE or try to set COOKIE, are you getting error like “Warning: Cannot modify header information – headers already sent” ? This happen if your page starts output on browser. COOKIE is at browser and it will not set if your browser has started output.
[PHP] Parse/Extract Domain name from URL
Do you need to parse only domain from current URL ? If yes than you are at the right place to get the PHP Code. PHP has parse_url built in function to parse a url parameters. This function will parse the url into an array. You can easily get the domain name from whole url of your page using parse_url function
[Dreamweaver] Open .thtml .ctp .phtml (view) Files in Dreamweaver
I am working with Famous PHP Frameworks i.e. CakePHP and Zend Framework in recent days. For CakePHP, view file extensions are either ctp or thtml and for Zend Framework, view file extentions is phtml. They are not opening in Dreamweaver. You need to add file extentions in document types file of Dreamweaver.
[Magento] Print Error/Exception on Browser or Email it
Magento provides an options to handle error/exception messages. Error can be displayed on Browsers or you can send full error description in an email. In previuos version of Magento, error can be visible on Browser itself while deployment the project. But in new version of Magento, they stored the error in a log file and display the file name only on browser.
Javascript and PHP Email Validation
I have noticed that many developers are facing problem in Form Email validation. Developers are always use to make a JavaScript Email validation and forgot to put server side email validation. As a developer, i suggest to put a server side validation as well. Serverside validation is most important if you want to make spamming free web application. Please have a look at both validation code. First is JavaScript Email Validation and second one is PHP Email validation.
[WordPress] RAX – Google Adsense Plugin
RAX – Google Adsense Plugin helps you to add an ad of Google adsense whereever you want to add. You just need to put a short code or template code in order to display google adsense ad or any other ad network ads. This is very simple light weight plugin. Why should we go for heavy plugin which increase load on your wordpress blog ? This is a light plugin which can accomplish all your needs.


I am
Recent Comments