From: lzt dot liang at tom dot com
Operating system: window xp and 2003
PHP version: 5.2.10
PHP Bug Type: Unknown/Other Function
Bug description: when i use microsoft ado to insert data ,there has a bug
Description:
------------
microsoft com in ado has a bug
Reproduce code:
---------------
<?php
$conn=new COM("adodb.connection");
$conn->open("provider=sqloledb;data source=192.168.0.2,1433;User
ID=sa;pwd=123;Initial Catalog=tmp");
$rs=new COM("ADODB.Recordset");
$sql="SELECT * FROM [dbo].[tmp]";
$rs->open($sql,$conn,1,3);
$rs->addnew;
$rs["text"]="²âÊÔ¿´¿´";
$rs->update;
?>
Expected result:
----------------
please see this pic
http://www.gdlydf.com/longyan/Image/2009080717103050286.jpg
--
Edit bug report at http://bugs.php.net/?id=49199&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=49199&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=49199&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=49199&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=49199&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=49199&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=49199&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=49199&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=49199&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=49199&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=49199&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=49199&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=49199&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=49199&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=49199&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49199&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49199&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=49199&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=49199&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=49199&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=49199&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=49199&r=mysqlcfg