How to upload a file in PHP
In this article I am going to explain file upload in PHP.
PHP file upload
PHP file uploader is used to upload files to the server.
Create an upload-file form
You can create a form for uploading a file .
Example of upload file form
<form action="date.php" method="post"
<input type="file" name="file" id="file" />
<input type="submit" name="submit" value="Submit" />
After browsing a file, output is:
After pressing button, output is:
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here