No, sorry, maybe I didn't explain that well.
On the html form, I've for an <input type="file"> so the user will select the file they want to link to.
The PHP script takes that variable in using $_FILES['doc']['name'] which only saves the actual filename: document.doc.
What I'm wondering is if...
Yes, it's going into a MySQL database. I'm currently saving it using:
$_FILES['doc']['name']
so all that is stored is:
document.doc.
The reason I'm asking is that we want to link to documents on a number of different local fileservers to documents that don't move so it would be great to...
I'm looking to create a little app that takes in information about a file then uses a form input file type box to select the file and store its filename.
I've got this working to a degree - I can store the file name no problem.
What I'm wondering is if it is possible to instead of storing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.