ExtJS 4: file upload example using PHP

ExtJS 4 has a very handy file component which can be used to upload files to server. Lets see today how to use ExtJS file component to upload file on server. I am using PHP to upload file but you can use Java, Ruby or C#.

First, create a Ext.form.Panel with file component. Add a Upload button and a button click handler. This handler will validate and submit form to upload.php file.

Upload.php file…

Output will look similar to as follows…

After successfully upload of file..



Download Source (1.95 Kb without ExtJS 4 Library)

About the Author

has written 68 posts.

I Love Coding, Analyzing, Designing and doing it the right way. I am obsessed about learn anything new daily and sharing what I have learn each Day. This Blog is journey of my Zeal, going through step by step to the mountain of desire to become prefect. Google Wanna Hire me ?

Copyright © 2017 http://www.techzoo.org. All rights reserved.
Proudly powered by WordPress. Developed by 7Tech Solutions