Didn´t work... i already changed the "upload_max_file".
It isn´t inserting large string in a DB... Only 4Kb!
""Miguel Loureiro"" <[EMAIL PROTECTED]> escreveu na mensagem
006501c0e42c$aa66c650$[EMAIL PROTECTED]">news:006501c0e42c$aa66c650$[EMAIL PROTECTED]...
I think that to upload a bigger
I think that to upload a bigger files you must change in php.ini the value
referent of upload_max_file.
Maybe it solve your problem...
Este e' portugues. Felicidades...
Good luck, good codeCARPE DIEM
Best Regardsmailto:[EMAIL PROTECTED]t
["Anderson Sone" <[EMAIL PROTECTED]>]
> How can i insert a file in a Database?
> I´m using PHP + MSSQL 2k
>
> I´m trying to insert a .doc file in a db. I read the file and put it in a
> db.
> I´m having a lot of problem... like:
> _
> Warning: MS SQL message: Unclosed quotation mark b
didnt work again!
The problem : is not possible to insert files bigger than 4Kb in the MS-Sql
Server 2000.
I think is a configuration, but i don´t no where...
Help me , tks.
Anderson
Mais um brasileiro :)
"Mário Henrique Cruz Tôrres" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTE
I think you need write a line with a code like this one. Because your data
contais quotes.
$data = addslashes(fread(fopen($binFile, "r"), filesize($binFile)));
- where $binFile is the name of your variable FILE (wich you want to insert at
your DB ).
If you are confused see the addslashes in ph