From: milman at gmx dot de Operating system: PHP version: 5.2.2 PHP Bug Type: COM related Bug description: Variant VT_ARRAY of VT_UI1
Description: ------------ for calling navigate2 you need to pass array of byte. that is not possible. Reproduce code: --------------- <?php $ie = new COM("InternetExplorer.Application"); $ie->Visible = true; $ie->Height = 500 ; $ie->Width = 700 ; $post = array (ord('p'),ord('='),ord('1')) ; $v = new VARIANT($post, VT_ARRAY|VT_UI1); //postdata need to be array of byte $ie->Navigate2("http://host/web/echo_request.php",0,'',$v) ; ?> Expected result: ---------------- posting data to web-server Actual result: -------------- com_exception -- Edit bug report at http://bugs.php.net/?id=41286&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41286&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41286&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41286&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41286&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41286&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41286&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41286&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41286&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41286&r=support Expected behavior: http://bugs.php.net/fix.php?id=41286&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41286&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41286&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41286&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41286&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41286&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41286&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41286&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41286&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41286&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41286&r=mysqlcfg