Home » Archive

Articles tagged with: upload

Magento »

[19 Feb 2010 | 4 Comments | 1,386 views]

In adminhtml, you might have the following code in any form. Here ‘logo‘ is the name of the input type file. Or, you may have any HTML Form with the File field in the frontend page. Remember that your form’s enctype should be multipart/form-data.

$fieldset->addField(‘logo’, ‘file’, array(
‘label’ => ‘Small Logo’,
‘required’ => false,
‘name’ => ‘logo’,
));

PHP, jQuery »

[29 Jun 2009 | No Comment | 1,810 views]

Here, I am going to show you how easy it is to upload multiple files with the help of jQuery and PHP.
I suppose that you are familiar with php and apache web server.