Bug #10851 Updated: COM component crashes when calling a property
| From: | derick@php.net | Date: | Mon, 14 May 2001 14:25:22 +0000 |
| Subject: | Bug #10851 Updated: COM component crashes when calling a property | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55170@lists.php.net to get a copy of this message | ||
ID: 10851
Updated by: derick
Reported By: samuel@liones.nl
Old-Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[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?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10851&edit=2