Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
- curl_setopt($ch, CURLOPT_TIMEOUT, 10);
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $params); // the SOAP request
- // get the response from the SERVER
- $response = curl_exec($ch);
- curl_close($ch);
- $arr = array();
- print_r($header_size);
- $dom = new DOMDocument();
- @$dom->loadHTML($response);
- echo '<pre>';
- print_r($dom); die();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement