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

From: Date: Mon, 14 May 2001 15:42:19 +0000
Subject: Bug #10851 Updated: COM component crashes when calling a property
Groups: php.dev 
Request: Send a blank email to php-dev+get-55179@lists.php.net to get a copy of this message
ID: 10851 User Update by: samuel@liones.nl Old-Status: Closed Status: Open Bug Type: Reproducible crash Operating system: Windows 2000 PHP Version: 4.0.6-dev Description: COM component crashes when calling a property Previous Comments: --------------------------------------------------------------------------- [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 --------------------------------------------------------------------------- [2001-05-14 10:13:56] samuel@liones.nl PHP 4.0.5 CGI and ISAPI crashes when I do the following: <?php $savefile = dirname(__FILE__) . "/tbxds-data.xml"; $requestfile = dirname(__FILE__) . "/tbxds-request.xml"; $tbxdslocation = "http://services.eurobench.nl/tbxds/tbxds.asp"; $xmlhttp = new COM("Microsoft.XMLHTTP"); if ( $requestdata = join('',file($requestfile)) ) { $xmlhttp->open("POST", $tbxdslocation, 0); $xmlhttp->send($requestdata); $reqdoc = $xmlhttp->responseXML; // $reqdoc->save($savefile); // proceed with further processing include("nutreco.php"); } else { print "Er is een fout opgetreden tijdens het lezen van het request-bestand.<br>"; print $objdoc->parseError->reason; } ?> It crashes at line 12: $reqdoc = $xmlhttp->responseXML; Is the COM component faulty? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10851

« previous php.dev (#55179) next »