[26 Nov 2012 | No Comment]

Here is PHP code to:
1) Read / Scan any directory
2) Read any file
3) Write to any file
1) Read or Scan directory
Get all files and folders inside the directory.
Three ways are shown below.

Miscellaneous »

[19 Nov 2012 | 11 Comments]

Here is a quick guide on calculating inverter and battery backup time.
There are different capacity of inverters like 200VA, 250VA, 350VA, 400VA, 450VA, 500VA, 625VA, 1200VA, etc. The capacity of the inverter should be chosen based on how much watt of appliances you power at a time.
How to convert from VA to Watts?

Miscellaneous »

[12 Nov 2012 | One Comment]

Here is the solution to “There are no free MBR slots on the disk” error while creating new partition on Windows 7.

Magento »

[5 Nov 2012 | 2 Comments]

Here are some ways (2 ways below) to show customer address information in registration page.
When you fill up the address fields and signup then both your billing and shipping addresses are filled up.
Here is how to enable address fields in signup page:-

Magento »

[29 Oct 2012 | No Comment]

Here is a quick tip on how meta tags – title, keywords and description work on Magento.
Meta information are not visible directly to end users but they are read by search engine spiders (bots). Meta tags are very important parameters for Search Engine Optimization (SEO).
In Magento, you can keep meta tags for Category, Pages and Products. I will be dealing with the meta title, meta keywords and meta description tags for Products.

Javascript »

[15 Oct 2012 | One Comment]

This article shows how to get selected value from dropdown box when a button is clicked.
– There are multiple forms in a page.
– There is a dropdown select box in each form.
– The option value of the select box is website URL.
– There is a button type=button (not type=submit) in each form.
– User will select a value from the select box and click the button.
– I need to get the selected option value (which is website URL) and open the URL in new window.

Magento »

[8 Oct 2012 | 4 Comments]

I have created a new custom module. Now, I need to edit a default template file.
For example:-

Miscellaneous »

[5 Oct 2012 | 3 Comments]

Whether you should choose Dedicated Server Hosting or Shared Hosting depends upon the web operation that you run or required.
Shared Hosting

Magento »

[24 Sep 2012 | No Comment]

This article shows how to add system configuration (System -> Configuration) menu with menu tab for your custom module.
Let us suppose, you have already created a local module.