From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.0.5
PHP Bug Type:     Reproducible crash
Bug description:  COM component crashes when calling a property

PHP 4.0.5 CGI and ISAPI crashes when I do the following:
        $savefile               = dirname(__FILE__) . "/tbxds-data.xml";
        $requestfile    = dirname(__FILE__) . "/tbxds-request.xml";
   $tbxdslocation = "";;

   $xmlhttp = new COM("Microsoft.XMLHTTP");
        if ( $requestdata = join('',file($requestfile)) ) {
             $xmlhttp->open("POST", $tbxdslocation, 0);
        $reqdoc = $xmlhttp->responseXML;
      //  $reqdoc->save($savefile);
        // proceed with further processing
        } else {
        print "Er is een fout opgetreden tijdens het lezen van het 
        print $objdoc->parseError->reason;
It crashes at line 12: $reqdoc = $xmlhttp->responseXML;

Is the COM component faulty?

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to