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...
> 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 html code i have to generate do do this?
> 3) how can i read this back from the database?
>
> i read something about sending the file over ftp and then on the database
> put just the path to the file.
> but what is your opinion?
> thankx
>
>
>
> *******************************************
> Pedro Miguel Silva Oliveira
> Cell Phone: +351 96 5867227
> SMS: [EMAIL PROTECTED]
> Email: [EMAIL PROTECTED]
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to