Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IGAM Muliarsa

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by IGAM Muliarsa

  1. hi there.... I would like to code tiki rate via http://www.tiki-online.com/?cat=KgfdshfF7788KHfskF here is some php code $url = 'http://www.tiki-online.com/?cat=KgfdshfF7788KHfskF'; $postdata = http_build_query( array( 'get_ori' => 'JAKARTA', 'get_des' => 'DENPASAR', 'get_wg' => '1' ) ); //working //open connection $ch = curl_init(); //set the url, number of POST vars, POST data curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($postdata)); curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata); //execute post $result = curl_exec($ch); but there is no result. when i used browser, the rate was appeared. sorry about my english :D
×
×
  • Create New...