<?php
$url = 'https://access.adea.org/ascenddev/CENSSAWEBSVCLIB.AUTHENTICATION'; │srarden@web01:/var/www/adea-directory/bin$ php acgi-test.php
│srarden@web01:/var/www/adea-directory/bin$ php acgi-test.php
$authentication_xml_data = array( │bool(false)
"p_input_xml_doc" => "<?xml version=\"1.0\"?> │srarden@web01:/var/www/adea-directory/bin$ php acgi-test.php
<authentication-request> │srarden@web01:/var/www/adea-directory/bin$
<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;
- Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.32
- Parse error: syntax error, unexpected '@' in /in/ECmOn on line 2
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
- Parse error: parse error, unexpected '@' in /in/ECmOn on line 2
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/ECmOn on line 2
Process exited with code 255.
preferences:
242.64 ms | 1395 KiB | 123 Q