Browse, Select, Upload - Would that need a Javascript?

I’m using a php script, it has a page where a logged-in web visitor can enter a description into a text field, I’d like to add a function to the html page where the web vistor can Browse his computer, Select a document file from his computer, and Upload it (into a folder on my server?).
What would you recommend? Is this a Javascript function?

Thanks

p.s. Additionally a link is created of the uploaded document location somehow.

Hey Chris,

While JavaScript can help to improve the user experience of file uploads, there is always a requirement to have a server side script/program to take of receiving the file on the server and then doing something with it.

PHP can do this and other than the base documentation I believe there are some libraries/classes around that can help you with this as well.