My users want to upload a PDF document through the application I created. I created a field in mysql database and defined it as document(file name).
If my app, I can now browse and select a file and it displays with a hyper link, as I believe it should. But the PDF is only accessible
up on the PC that originally uploaded. Other computers get error that “ABC.PDF” does not exist…so it must be looking at the local file system.
What is the difference between document (file name) and document (database)?
Can someone give me some steps what do I need to do to truly upload the document to the website?
Thank You!
I got this working. I had the wrong file type for filename in my DB. Fixed that and I’m all good. I’m not sure why it worked on my PC at all.