https://github.com/taniarascia/upload
How to Upload a File to a Server in PHP
https://github.com/taniarascia/upload
file-upload files javascript php uploading vanilla-javascript
Last synced: about 2 months ago
JSON representation
How to Upload a File to a Server in PHP
- Host: GitHub
- URL: https://github.com/taniarascia/upload
- Owner: taniarascia
- Created: 2018-04-28T18:02:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T01:50:53.000Z (about 5 years ago)
- Last Synced: 2025-03-20T21:13:49.380Z (about 2 months ago)
- Topics: file-upload, files, javascript, php, uploading, vanilla-javascript
- Language: PHP
- Homepage: https://www.taniarascia.com/how-to-upload-files-to-a-server-with-plain-javascript-and-php/
- Size: 3.91 KB
- Stars: 103
- Watchers: 6
- Forks: 80
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to Upload a File to a Server in PHP
[View Tutorial](https://www.taniarascia.com/how-to-upload-files-to-a-server-with-plain-javascript-and-php)
## 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.