Bug #10851 Updated: COM component crashes when calling a property
| From: | phanto@php.net | Date: | Mon, 14 May 2001 18:02:09 +0000 |
| Subject: | Bug #10851 Updated: COM component crashes when calling a property | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55204@lists.php.net to get a copy of this message | ||
ID: 10851
Updated by: phanto
Reported By: samuel@liones.nl
Status: Open
Old-Bug Type: Reproducible crash
Bug Type: COM related
Operating system:
PHP Version: 4.0.6-dev
Assigned To:
Comments:
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.
Previous Comments:
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
[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