What ever I am learning in my daily life I am maintaining this as a diary or you can say my technical knowledge biography. Visit frequently to get updated with my updated knowledge.
i am using CURL method for integrate international flight arzoo api. but showing blank page…
please help me….
//Store your XML Request in a variable
$input_xml = '
$url = “http://184.108.40.206:9301/Avalability”;
//setting the curl parameters.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
// Following line is compulsary to add as it is:
“xmlRequest=” . $input_xml);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 300);
$data = curl_exec($ch);
//convert the XML result into array
$array_data = json_decode(json_encode(simplexml_load_string($data)), true);
I went over this internet site and I conceive you have a lot of superb info, saved to bookmarks (:.
Your email address will not be published. Required fields are marked *