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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 - 39 = ?
Subscribe to this entry?

 
 [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: Fri Apr 26 19:01:29 2024 UTC