No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US¤cyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest> when i call api directly to browser i got right data in xml format. but when i call it through curl.. sometime i get data in json format or sometimes no data.. [CODE] $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US¤cyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest>"); curl_setopt($ch, CURLOPT_FAILONERROR,1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 15); $retValue = … |
|
Re:
Hi, I stored hindi data in my my sql table through Php form. While fetching,it is not coming in hindi but some unusual symbols like गिरधर गोपाल रायतानॠis coming. using below code also [CODE]mysql_query('SET character_set_results=utf8'); mysql_query('SET names=utf8'); mysql_query('SET character_set_client=utf8'); mysql_query('SET character_set_connection=utf8'); mysql_query('SET character_set_results=utf8'); mysql_query('SET collation_connection=utf8_general_ci'); [/CODE] Need help.. |
|
i have installed ssl on my server. i m just running payment part in https and rest of the website in http. when i try to use session variable from http to https. i got blank result, i think https destroy my session variables. i want to use session variable … |
|
i m trying to make a multiple level slide in-out menu in juqery.. i m able to open one div.. but not able to hide open div and show the clicked one.. this is my work.. click menu1 only working.. when i click menu2 everything goes work.. please have a … |
|
I want to check the image size in JavaScript.. for example if image size is more than 500kb and other format instead of jpg.. it should not get uploaded.. i want to check these validation before form submit.. thanks in advance.. waiting for positive ans. Regards |
|
i was just wondering how to upload heavy video file of any format to the server.. is it necessary to convert every video file to flv to play on browser.?? thanks |
|
i have to make a polling sytem with multiple Questions having multiple Questions. for example Q1 - best actor A) Will Smith B) Tom Cruise Q2 - best Color A) Red B)Green Submit button.. there will be only one submit button. after submit i have to show all result on … |
|
Re:
Right. Im trying to communicate with the expedia travel API, exchanging xml feed with them. It goes somehow like this: I send them info of the query I want, they send me the query back in xml form. Here is an example of a query I would want to send … |
|
i m getting this Notice this following code.. please help me why this error is comming... [code] $dataArr[$m]['longitude']= @$pageListArray['longitude']['value']; $dataArr[$m]['lattitude']= @$pageListArray['lattitude']['value']; $dataArr[$m]['hospitalType']= @$pageListArray['hospitalType']['value']; foreach ($dataArr as $key => $row) { $order_in_category[$key] = $row[0];//[0] is $order_in_category } [/code] thanks in advance.. i hope i got solution here. |
|
i have a date column where dates are saved in varchar format like this 17-03-2011 :: 11:19:48 i want to find last date through query.. please help thanks |
|
Re:
after designing a member area in my page i was now locked with this problem. i want each member, have his own data(like his own profile,his own messages etc) presented to him any time he is logged in. pls i will be very grateful if some one can help me |
|
i m using google map version 3. i want to customized the map type control show top-right corner.. i want to show all the type (map,statellite,terrain,earth) in one horizontal line (like its shown in V2). kindly guide me little.. thanks |
|
I am making a project where when you select a city, you will get all the hotels on google map as markers.. now i got two options whether make an external xml file for all the hotels and read that file.. or get result for database.. so friends what you … |
|
Re:
[B]I have one select list, which is populated from the DB like this:[/B] [CODE] <select name="position" id="position" onChange='itemdisplay(this.value)'> <option value="<?php echo $til_subject; ?>"><?php echo $current_subject; ?></option> <?php while($row=mysqli_fetch_array($result)){ echo '<option value=' . $row['id'] . '>' . $row['linknavn'] . '</option>'; } echo "</select>"; ?> // Next to this list i have … |
|
Currently i m working on Google map V3.. i got a task to show multiple markers n n their corresponding info windows at the same time.. i m able to show the multiple markers but unable to show multiple info windows at the same time.. plz help me.. is this … |