Re: [PHP-DB] Uploading file into database

2001-04-11 Thread Lucio Stoco

Have you done the file upload into the database?
I´m having some problem to put the file (like .doc or .xls) in a database...
I´m using 'text' field type, is it right?

Do you have any example about it?

Tks.

""Zeus"" [EMAIL PROTECTED] escreveu na mensagem
01e601c0c26e$6ccded80$735518d2@zeus">news:01e601c0c26e$6ccded80$735518d2@zeus...
I'm trying to do a filexchange script.

Does anyone know how to upload a file into the database such that when I do
a 'select *' query, I can click on a link the download that file.





-- 
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-DB] inserting data in SQL Server 2000

2001-04-10 Thread Lucio Stoco

Hi, i´m from Brazil...

I would like to know how can i insert a file in a database.

First i uploaded the file, second i read the file and put it in a string.
After, i created a 'TEXT' field type. I tried to insert... but just was
inserted a piece of file.

Thanks for your attention...



-- 
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]