@ 2014-09-08T20:25:31Z <?php
$url = 'https://access.adea.org/ascenddev/CENSSAWEBSVCLIB.AUTHENTICATION';
$authentication_xml_data = array(
"p_input_xml_doc" => "<?xml version=\"1.0\"?>
<authentication-request>
<username>dean028</username>
<password>test</password>
</authentication-request>"
);
$curl = curl_init();
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $authentication_xml_data);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
$getAuthenticationResponse = curl_exec($curl);
echo $getAuthenticationResponse;
//$getAuthenticationResponseXML = new SimpleXMLElement($getAuthenticationResponse);
//$result = (string)$getAuthenticationResponseXML;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.20 , 7.1.0 - 7.1.25 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/SGh20:13
Stack trace:
#0 {main}
thrown in /in/SGh20 on line 13
Process exited with code 255 . Output for 5.0.0 - 5.0.5 , 5.1.1 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.28 Fatal error: Call to undefined function curl_init() in /in/SGh20 on line 13
Process exited with code 255 . Output for 5.1.0 Fatal error: fatal flex scanner internal error--end of buffer missed in /in/SGh20 on line 32
Process exited with code 255 . Output for 4.4.5 - 4.4.9 Fatal error: Call to undefined function: curl_init() in /in/SGh20 on line 13
Process exited with code 255 . Output for 4.3.2 - 4.3.11 , 4.4.0 - 4.4.4 Fatal error: Call to undefined function: curl_init() in /in/SGh20 on line 13
Process exited with code 255 . Output for 4.3.0 - 4.3.1 Fatal error: Call to undefined function: curl_init() in /in/SGh20 on line 13
preferences:dark mode live preview
259.07 ms | 401 KiB | 369 Q