PHP is world's no. 1 server side scripting language, it comes with plenty of features and one of the most famous one is file uploading which is extensively used world wide.
Self Explanatory PHP File UploadingExample
First Create a directory called gallary/ . Save this file as gallery.php <!DOCTYPE html>
<html lang="en">
<head>
<title>File Uploading</title>
<meta charset="utf-8" />
</head><body>
 <?php $path="gallery/"; $path=$path.$_FILES['file_upload']['name']; if(isset($_POST['upload'])) { if(move_uploaded_file($_FILES['file_upload']['tmp_name'],$path)) { echo "The file ".basename($_FILES['file_upload']['name'])." has been uploaded"; } else {
.....
for complete tutorial visit
HTML5Planet











