Title: Uploading a file into a database....ideas please.
put a <TEXTAREA> on a form - cut-paste the text onto the
form, submit the form, and have the form put your info into
the database....
 
if your server supports PHP, there are many many MySQL
admin scripts out there that you could use to add stuff to
your DB.
 
 
-----Original Message-----
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 5:06 AM
To: 'php'
Subject: [PHP] Uploading a file into a database....ideas please.


Hi all,

I have several text files that need to be uploaded each week to a mySQL db.
At the moment I'm deleting the tables via telnet then exporting them via ODBC.

I have tried uploading in the following ways.

1. Using the copy command, but there are insufficient privileges on the server (security reasons).
2. FTPing the text files in the php script but the version of PHP doesn't allow this. (Updating it not an option).
3. Opening the file remotely (but the file is on my local pc).

I'm stuck myself,

please help.

Thanks in advance.
Sam Rose

(Also could you reply to my email address as I don't seem to get anymore emails from the list come through)

Reply via email to