php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7043 mssql_result truncates fields that are greater than 251 chars
Submitted: 2000-10-05 17:19 UTC Modified: 2002-06-16 08:24 UTC
From: platiau at fucam dot ac dot be Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 3.0.16 OS: Windows 95/NT/2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: platiau at fucam dot ac dot be
New email:
PHP Version: OS:

 

 [2000-10-05 17:19 UTC] platiau at fucam dot ac dot be
With php3_mssql.dll and php3_mssql70.dll

Fields in the database are corrects: 

Table "Test" with one field "text" defined in varchar(800)

When I try to display result of the table, the field "text" is
truncated to 251 chars (We're running IIS5/Win2K/PHP3.0.16/MSSQL7.0)

In older version of MSSQL (6.5), varchar was limited to 255 chars. 
Now in 7.0 version, we could go up to 8192 chars. 

Perharps you didn't modify the type of the varchar in the php3_mssql70.dll ... 

Could you test it ? 

Thanks

Philippe Platiau

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:24 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 20:01:32 2024 UTC