Picture or Image Upload Script

Image Upload Script is use to .gif,.jpg and .png format type images upload the broswer to server.

Demo :



 

Example :

Just click Browse... button then select image and click Upload button then image will be display below of upload form.

Code :

Following code is used to upload the images if you need to copy and use to your website.


<?php
  $dir_name = "upload_path/";
  $upload_file = $dir_name.basename($_FILES['image_upload']['name']);
  move_uploaded_file($_FILES['image_upload']['tmp_name'],$upload_file);
  chmod($dir_name,0777);
?>

In the above $dir_name variable has been assigned to upload folder path then $upload_file variable has been stored upload folder path and image name.In the move_uploaded_file() function is used to move the image broswer to server.

Free Download Script :

If you need Image Upload Script click and download from following link.

Download




Content