Jump to content

Import client side text file then save into mysql table.


reeno1

Recommended Posts

Hello,

I have a file on network drive

Q:\REFL\TEML\SCROLL.TXT

Would like to import file into mysql table.

 

Think I need client side file read.

Then maybe save into php array

Then loop through array inserting into table

 

Have used php file with text file on server side and saved into table okay.

But

Problem I have is the file can not be transferred to mysql server by users.

Need to read client side.

 

Hope this makes sense.

 

Any help would be appreciated.

 

 

 

If you have access to the browser, you can install an active-x control and set the security settings on IE browsers that will let your web page access a client-side file.

 

Edit: And if you have that level of access to the client's system, you might as well install a HTTP or FTP server on the client's system and then access the file through that server.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.