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.

2 thoughts on “About My Blog Planner”

  1. i am using CURL method for integrate international flight arzoo api. but showing blank page…

    please help me….

    <?php
    //Store your XML Request in a variable
    $input_xml = '
    ONE
    BOM
    JFK
    2014-12-15
    2014-12-16
    1
    0
    0
    INR
    E
    true
    XXXXXXXX
    **************
    ArzooFWS1.1

    ‘;

    $url = “http://59.162.33.102:9301/Avalability”;

    //setting the curl parameters.
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    // Following line is compulsary to add as it is:
    curl_setopt($ch, CURLOPT_POSTFIELDS,
    “xmlRequest=” . $input_xml);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 300);
    $data = curl_exec($ch);
    curl_close($ch);

    //convert the XML result into array
    $array_data = json_decode(json_encode(simplexml_load_string($data)), true);

    print_r(”);
    print_r($array_data);
    print_r(”);
    ?>

Leave a Reply

Your email address will not be published. Required fields are marked *