Skip to content
How to Upload a File to a Server in PHP
PHP JavaScript HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Apr 28, 2018
README.md Initial commit Apr 28, 2018
index.html Initial commit Apr 28, 2018
process.php Update Process.php Feb 13, 2019
upload.js Initial commit Apr 28, 2018

README.md

How to Upload a File to a Server in PHP

View Tutorial

Goals

  • Build the simplest possible form with HTML to take a retrieve files from your local computer.
  • Send the data from an HTML form to a PHP script with vanilla JavaScript.
  • Process the data in the PHP script and move the local files to an uploads/ directory on a server.
You can’t perform that action at this time.