Bug #10851 Updated: COM component crashes when calling a property

From: Date: Tue, 15 May 2001 07:52:36 +0000
Subject: Bug #10851 Updated: COM component crashes when calling a property
Groups: php.dev 
Request: Send a blank email to php-dev+get-55307@lists.php.net to get a copy of this message
ID: 10851 User Update by: samuel@liones.nl Old-Status: Feedback Status: Open Bug Type: COM related Operating system: Windows 2000 PHP Version: 4.0.6-dev Description: COM component crashes when calling a property This is a small script that should generate a file called tbxds-data.xml . Don't mind what is in the file. It crashes at line 23: $xml = $xmlhttp->responseXML; With PHP 4.0.4pl1 it works fine, but with 4.0.5 and 4.0.6-dev it crashes. I've tested this a number of times, so it thinks the new COM component is buggy. <?php $savefile = dirname(__FILE__) . "/tbxds-data.xml"; $tbxdslocation = "http://services.eurobench.nl/tbxds/tbxds.asp"; $xmlhttp = new COM("Microsoft.XMLHTTP"); $requestdata = '<?xml version="1.0" standalone="yes"?> <TBMDataRequest version="2.0" user-name="NUTRECO"> <Quotes> <Quote ticker="NUO" exchange="AEX"/> </Quotes> <Charts type="67,68,69"> <Chart ticker="NUO" exchange="AEX"/> </Charts> </TBMDataRequest>'; $xmlhttp->open("POST", $tbxdslocation, 0); $xmlhttp->send($requestdata); $xml = $xmlhttp->responseXML; $xml->Save($savefile); print "$savefile saved, done"; ?> Previous Comments: --------------------------------------------------------------------------- [2001-05-14 14:13:21] derick@php.net status: feedback --------------------------------------------------------------------------- [2001-05-14 14:02:09] phanto@php.net could you provide a short script without any includes that reproduces that error. i've done a few tests with XMLHTTP but i haven't got any errors with the latest cvs version. --------------------------------------------------------------------------- [2001-05-14 14:01:17] phanto@php.net could you provide a short script without any includes that reproduces that error. i've done a few tests with XMLHTTP but i haven't got any errors with the latest cvs version. --------------------------------------------------------------------------- [2001-05-14 11:41:46] samuel@liones.nl Still crashes with new 4.0.6-dev binary from php4win --------------------------------------------------------------------------- [2001-05-14 10:25:22] derick@php.net This should be fixed in CVS, can you please try the binary that php4win.de provides (site is down, but there is a link to the binary). If this one doesn't fix the problem, please reopen this report. Derick --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=10851

« previous php.dev (#55307) next »