ID: 7780
Updated by: fmk
Old-Status: Open
Status: Closed
Bug Type: MSSQL related
Operating system: 
PHP Version: 4.0.3pl1
Assigned To: 

This has been fixed. When running the ISAPI module, the php.ini file was not read 
correctly. Upgrade to latest version

Previous Comments:

[2000-11-13 06:22:01] [EMAIL PROTECTED]

Working with IIS 4 and ISAPI, and having added the following lines to php.ini

mssql.textsize  = 8192 ;
mssql.textlimit = 8192 ;

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 
  $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";


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to