In my web application I need to be able to allow the user to transfer files (word documents and pictures) from their computer to the server and I have been unable to google an answer. PHP, Apache and MySQL.

The problem is mainly I am unsure how to compose the question.

Thank you in advance,

John

Recommended Answers

Use a form and look at http://php.net/manual/en/function.move-uploaded-file.php

<form... enctype="multipart/form-data">
...
<input type="file" name="myfile" />
...
</form>
Jump to Post

All 2 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.