Changeset 16544


Ignore:
Timestamp:
2007/10/23 23:51:44 (17 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-movilink/data/downloads/module/mdl_movilink/mdl_movilink.inc

    r16543 r16544  
    300300    $url = "http://c.moaf.jp/eres/?sid=" . $site_id . "&aflkey=" . $aflkey . "&uid1=" . $order_id . "&items=" . $items; 
    301301     
    302     sfPrintR($url);  
     302    $req = new HTTP_Request($url); 
     303     
     304    // GET¤Î¾ì¹ç 
     305    $req->setMethod(HTTP_REQUEST_METHOD_GET); 
     306    $ret = $req->sendRequest(); 
     307    if (!PEAR::isError($ret)) { 
     308        $body = $req->getResponseBody(); 
     309        gfPrintLog($body); 
     310    }else{ 
     311        gfPrintLog($ret->getMessage()); 
     312    } 
    303313} 
    304314  
Note: See TracChangeset for help on using the changeset viewer.