Re: SQL Server 7 help needed!!!

From: Date: Thu, 04 Jan 2001 00:51:38 +0000
Subject: Re: SQL Server 7 help needed!!!
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4782@lists.php.net to get a copy of this message
Hello Frank, If the "Module" (which is ment? mssql7 or isapi?) is in general able to handle this: Why is then the bug #7780 still open (exactly this "Text-chop" under ISAPI)? I can't change to cgi due to the GD-prob. with Dr. Watson, and I also can't check php 4.04 due to the impossibility of update, etc. with MSSQL (result false instead of true). So, when will there be a really working solution? Best regards, Thomas "Frank M. Kromann" wrote: > Hi, > > >It seems php_mssql.dll uses a MSSQL API called "dbdatlen". This API is not > >suitable for text or image fields. In fact, it returns a false text size of 8k (or 4k, depending on > >the client libraries and SQL server version you're using), even if there is more data. > > As you say "dbdatlen" uses the configured max length of text fields. These values can > be altered from php.ini > > mssql.textlimit = 8192 ; valid range 0 - 2147483647 default = 4096 > mssql.textsize = 8192 ; valid range 0 - 2147483647 default = 4096 > > I have testest this with values up to 256kb and it works fine. > > Users of IE browsers are limited to enter up to 64K in a textarea input field and as you point > out using large text columns slows down performence so I would not recomment that. > > >So I guess some modifications could be made, perhaps using BLOB-specific functions. > >Personally I would keep long chunks of text away from a Web app, but handling ir carefully... > > Modifications are not needed, as the module can handle large text columns! > > >I'm going to ask the maintainer if some work is currentry being done about this. > > I'm the maintainer so here is your andwer :-) > > - Frank > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#4782) next »