-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rishi Vishwakarma
committed
Nov 19, 2015
1 parent
7617573
commit 027123a
Showing
1 changed file
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
# Ajax-Image-Upload-using-PHP-and-jQuery | ||
# Ajax Image Upload using PHP and jQuery | ||
|
||
In this process the image is selected first and previewed before storing it in to any location . Then using jQuery Ajax, it is send to php script on submit button event. | ||
|
||
PHP script stores the image in a defined location and returns the message of the success and failure of the process. | ||
|
||
Here we have applied some validations on the selected file, to check it whether it is an image file (jpg, jpeg or png ) or any other file type. | ||
|
||
Upload File size allowed is 100 Kb. | ||
|
||
--- | ||
Following steps are pointed under this process : | ||
|
||
1. Include jQuery library. | ||
|
||
2. HTML page with upload field. | ||
|
||
3. jQuery Ajax code. | ||
|
||
3. PHP script to store image. |