Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by registered user Nerijus ( 14 years ago )
<?php
$postdata = array(
'MfcISAPICommand' => 'Default',
'USERNAME' => 'EECO_XML',
'PASSWORD' => '20902',
'XML' => '<?xml version="1.0" standalone="yes"?><CatalogRequest ><Date>200-07-11T12:00:00</Date><CatNumber>1.0</CatNumber><Route><From><ClientID>2330</ClientID></From><To><ClientID>0</ClientID></To></Route><Filters><Filter FilterID="ClassID" Value="ANL"/></Filters></CatalogRequest>',//*/
'CHECK' => 'XMKSJDJKHFKSJADHFLSDFN'
);
$postdata = http_build_query($postdata);
$useragent = 'IE6';
$headers = array(
'Content-Type: text/html',
'Content-length: ' . strlen($postdata),
'UserAgent: ' . $useragent
);
$opts = array(
'http'=>array(
'method' => "POST",
'header' => implode("\r\n", $headers),
'content' => $postdata
)
);
$context = stream_context_create($opts);
$data = file_get_contents('https://www1.gnt.lt/scripts/XML_Interface.dll', false, $context);
echo $data;
Revise this Paste
Parent: 54498