|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-30 14:37 UTC] fmk@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 04:00:01 2025 UTC |
Working with IIS 4 and ISAPI, and having added the following lines to php.ini *snip* mssql.textsize = 8192 ; mssql.textlimit = 8192 ; *snip* a request of a field with Data-Type Text > 4kB gives back only the first 4kB of the text (in general). The interesting phenomenon is: After restarting IIS completely (net stop iisadmin), the WHOLE text out of the DB (appr. 6kB) will be returned, but only ONCE (meaning a reload in the browser, taking another browser, etc. gives again only the "cutted" text-field). Working in CGI-mode, the whole text will be returned every time. A exemplary code-snippet, if it helps: **shortened snip** $check = "SELECT * FROM $table WHERE $QUERY_STRING"; $result = mssql_query($check) or die("Konnte die Datenbankabfrage nicht durchf?hren."); $row=mssql_fetch_row($result); $head = makehtmlchar($row[2]); $body = makehtmlchar($row[3]); $mytext .= " <table width=610> <tr><td><h4><b>$head</b><br><font class=stdtext>($row[1])</font></h4></td></tr> <tr><td><font class=bigtext>$body </font></td>\n"; **snip**