Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

move uploaded file in php

<?php
   if (move_uploaded_file($_FILES['userfile']['tmp_name'], "/documents/new/")) {
      print "Uploaded successfully!";
   } else {
      print "Upload failed!";
   }
?>
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #move #uploaded #file #php
ADD COMMENT
Topic
Name
4+5 =