Re: Insert a file in a mysql database!
| From: | JJeffman | Date: | Sat, 03 Mar 2001 18:22:19 +0000 |
| Subject: | Re: Insert a file in a mysql database! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7098@lists.php.net to get a copy of this message | ||
Look for "load in file" on MySQL manual.
HTH.
Jayme.
-----Mensagem Original-----
De: Pedro M. S. Oliveira <oliveira.pedro@bigfoot.com>
Para: PHP db <php-db@lists.php.net>
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: 965867227@mail.tmn.pt
> Email: Oliveira.Pedro@bigfoot.com
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>