check in the manual under the features section, a part called Handling file
uploads.
you need to use a multipart/form-data html form, which then posts the
contents of the file to the server. once it is there, you can parse it into
a single variable and save that into the db just like you would
Look for "load in file" on MySQL manual.
HTH.
Jayme.
-Mensagem Original-
De: Pedro M. S. Oliveira <[EMAIL PROTECTED]>
Para: PHP db <[EMAIL PROTECTED]>
Enviada em: sábado, 3 de março de 2001 18:03
Assunto: [PHP-DB] Insert a file in a mysql database!
> Hi all.
Hi all...
Here i am once again asking for advice :)
well i need to put a file (something lika *.doc or *.rtf) on a mysql
database.
The thing is: the user need to upload a computer file to the mysql runing
over a linux box.
i would like to know:
1) what is the best way to do this?
2) what is the h