Link to home
Start Free TrialLog in
Avatar of qvfps
qvfps

asked on

Local file access from Web Page

I am working a application mostly for my personal use which I have written in PHP.   with an HTML interface.   I have a separate PHP file which I am using to read a file and load data into a database.  However this is something I would like to do on a regular basis and currently I am editing the PHP file and entering the full path to the file I want to upload.  

I would like to be able to browse and select a file on the local (client) C drive, read it in and load it into a database table on my webserver.   From a page on my webserver.

What is the easiest way to go about this.  

I am running an Apache web-server on OpenSUSE.   My current pages are all built using javascript and PHP.
ASKER CERTIFIED SOLUTION
Avatar of Marco Gasi
Marco Gasi
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In order to insert fles in the database, you can take a look to this my own question about this: https://www.experts-exchange.com/questions/28379067/JQuery-bluImp-Upload-plugin-and-database.html
Avatar of qvfps
qvfps

ASKER

Thanks for the suggestions.  I will look into trying this.

Unrelated.  Is it possible to delete answers?  There was one posted last night from someone else but it is not displayed today?