Sunday, December 12, 2010

Installing Magento on Windows/Wamp Server

Hay Guys,

After struggling for many days to install  "Magento" on my local windows machine running wamp server, I found a really great post that helped me successfully install it.

http://www.techyuva.com/how-to-install-magento-on-wampserver-windows-xp-with-sample-data

The main thing that I noticed is that - you can't install magento on PHP 5.3.0. You need to download PHP 5.2.8 and add to your Wamp Server installation and make it active. Only after that you can install Magento on your local windows machine.

You have to read the whole article to make a successful installation.

Tuesday, October 19, 2010

Upload multiple Files from single “File upload input” control

Today I come across a situation in one of my projects where I had  to upload multiple files from a single input file control in HTML. And I found its not possible in HTML to upload multiple files from a single file upload control.

Luckily, I found 2 ways to achieve this functionality.  And both are using JavaScript code (JQuery).

1. Upload files one by one from a single file upload control.

Checkout this plug-in:

http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Overview

2. Select multiple files from the browse popup, pressing “CTRL” button on your keyboard.

Checkout this JQuery plug-in this really works: http://www.uploadify.com

There must be more ways to do this same thing. If you know them please discuss in comments.