ID: 30962
Comment by: robert dot sevcik at gmail dot com
Reported By: richard dot quadling at bandvulc dot co dot uk
Status: No Feedback
Bug Type: MSSQL related
Operating System: Windows XP Pro SP2
PHP Version: 5.0.3
New Comment:
Hi, It'd be nice to see it working in php 5.1 because right now I am
developing in php5. I've tried various php5 snaps and 5.0.4 stable
without efect.
I am on a Win2003 server and here is my try-case:
<?php
$c = mssql_pconnect('myserver');
$res = mssql_query('select top 1 Obrazek,len = len(Obrazek),bin =
cast(Obrazek as varbinary) from katalog..Nabidka');
$a = mssql_fetch_assoc($res); //any method
var_dump($a);
print phpversion();
/* returns:
array(3) {
["Obrazek"]=>
string(1) " "
["len"]=>
int(0)
["bin"]=>
string(1) " "
}
5.1.0-dev
Thank you much :)
*/
?>
Previous Comments:
------------------------------------------------------------------------
[2005-03-31 10:54:11] beschr at free dot fr
Please ignore my precedent comment, the bug is still present in CVS.
I test the mssql.dll today (latest snap: Built On: Mar 29, 2005 16:30
GMT) and the bug is still present.
------------------------------------------------------------------------
[2005-03-25 14:54:28] rantal at eoss dot ru
Same problem still exist in php4 snapshot
php4-win32-STABLE-200503230530.zip
------------------------------------------------------------------------
[2005-03-17 17:59:57] beschr at free dot fr
I've got this problem too with php 5.0.3 on IIS/Windows XP Pro SP2.
With the mssql.dll of this snaps: Built On: Mar 17, 2005 01:30 GMT it
work great.
So I think the correction in CVs is ok and you can close this bug.
------------------------------------------------------------------------
[2005-03-08 01:00:11] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-02-28 21:19:22] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30962
--
Edit this bug report at http://bugs.php.net/?id=30962&edit=1