Answers for "php how to save a uploaded file"

PHP
0

move uploaded file in php

<?php
   if (move_uploaded_file($_FILES['userfile']['tmp_name'], "/documents/new/")) {
      print "Uploaded successfully!";
   } else {
      print "Upload failed!";
   }
?>
Posted by: Guest on June-06-2020
0

move uploaded file in php

move_uploaded_file(file_path, moved_path)
Posted by: Guest on June-06-2020

Browse Popular Code Answers by Language