PHPize Online / SQLize Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy
Copy Format Clear
<?php error_reporting(E_ALL); ini_set('display_errors',1); $payload=PHP_EOL.PHP_EOL. '<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:c="http://schemas.xmlsoap.org/soap/encoding/" xmlns:v="http://schemas.xmlsoap.org/soap/envelope/">'. '<v:Header />'. '<v:Body>'. '<find xmlns="urn:find" id="o0" c:root="1">'. '<_t i:type="d:string">'. 'da85dca331ca7935bdae55730a93747aff3f1e4be052219760b79a076749a942'. '</_t>'. '<api_key i:type="d:string">'. '58a189382eb6962e21aa4d5372d68ef7d2002711e79446d3e4b572b54b09c36b299ad3ca3'. '39807e232eba6a0e5bde6342d7de1a2cd30c2282eb0ff670ed2ae682228de4cf509399f24'. 'f4c9b0cc7953e484b268b09c86abe3c5de0c6c5d649ddf90c822cbb7793bcd3a77ea55d019f72c'. '</api_key>'. '<_v i:type="d:string">1</_v>'. '</find>'. '</v:Body>'. '</v:Envelope>'; $con=file_get_contents( 'http://hamsararmani.ir/api_find.php?wsdl',0, stream_context_create(Array( 'http'=>Array( 'method'=>'POST', 'ignore_errors'=>true, 'timeout'=>6, 'content'=>$payload, 'header'=>implode("\r\n",Array( 'Content-Type: text/xml;charset=utf-8', 'Content-Length: '.strlen($payload), 'User-agent: ksoap2-android/2.6.0 via_admin', )), ) )) ); var_dump($con);
Show:  
Copy