<?php $target = "images/"; $target = $target.basename($_FILES['photo']['name']); //$name=$_POST['name']; //$email=$_POST['email']; //$phone=$_POST['phone']; //$pic=($_FILES['photo']['name']); if(move_uploaded_file($_FILES['photo']['tmp_name'],$target)) { echo "The file ".basename($_FILES['uploaded']['name'])." has been uploaded, and your information has been added to the directory"; } else { echo "Sorry, there was a problem uploading your file."; } ?>
echo "The file ".basename($_FILES['uploaded']['name'])." has been uploaded, and your information has been added to the directory";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)