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 files
Where can i configure it?
The defult value is 4096 bytes (4Kb).
I´m using php + Sql Server
Tks.
Anderson
--
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,
ye... i had already done it
Miles Thompson [EMAIL PROTECTED] escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Haven't the foggiest idea -- but php.ini would be a good place to start, or
search the manual for these terms.
Miles
At 12:32 PM 5/24/01 -0300, Anderson So
What´s wrong?
I did it, but only 4Kb was inserted in a field...
I used field like : NText, Text, Binary... in a Sql Server.
See the code :
__
?
if ($action == upload) {
$arquivo = str_replace(,\\,$arquivo);
// Faz UPLOAD
copy($arquivo,$arquivo_name);
What it means?? I see it in a SQL Query from MSSQL 2000
Server: Msg 8152, Level 16, State 9, Line 1
String or binary data would be truncated.
The statement has been terminated.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Blob or link?
Insert just the link is the better way?
Does the security is the same?
Thanks,
Anderson Sone
No things of all
Only upload the file, move to the right location and insert the file link
(location path) into the database.
READY!
Bey,
Daniel Kieviet
Xsarus