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:
<?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?
   


-- 
Edit Bug report at: http://bugs.php.net/?id=10851&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
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