From:             [EMAIL PROTECTED]
Operating system: Windows NT 4.0 build 1381
PHP version:      4.2.2
PHP Bug Type:     MSSQL related
Bug description:  4k text limitation can be adjusted by INI_SET

To adjust the 4k limitation of TEXT fields, I changed the TEXTSIZE and
TEXTLIMIT value of MSSQL (SET TEXTSIZE xxx) to a very high value to
prevent interference. This works properly.

Adjusting the "mssql.textlimit" and "mssql.textsize" values in php.ini
would allow larger than 4k results to be returned. This seems also fine.

However, changing this limit at run time ("ini_set("mssql.textlimit",
12000); ini_set("mssql.textsize", 12000);", 12000 (int) or "12000" string,
not making a difference) would have no impact on the selected result.
PHPINFO() shows the new adjusted value but the result would still be
limited to the value set in the PHP.INI file.

Also, "-1" (as suggested in the INI_SET function description page) seems
to limit to 4k too.

Server API: ISAPI
MSSQL Library version: 7.0

More information can be supplied if requested.
-- 
Edit bug report at http://bugs.php.net/?id=20797&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20797&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20797&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20797&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20797&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20797&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20797&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20797&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20797&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20797&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20797&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20797&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20797&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20797&r=isapi

Reply via email to