Changeset 7741 for temp/trunk
- Timestamp:
- 2006/11/08 13:00:27 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/test/naka/shopcgi.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/test/naka/shopcgi.php
r7740 r7741 38 38 */ 39 39 40 $order_url = "http://mod-i.ccsware.net/ohayou/EntryTran.php"; 41 42 $arrData = array( 43 'OrderId' => '2006-11-08-12-43-21-936', 44 'TdTenantName' => '', 45 'TdFlag' => '', 46 'ShopId' => 'test', 47 'Amount' => '0', 48 'ShopPass' => 'test', 49 'Currency' => '', 50 'Tax' => '0', 51 'JobCd' => 'CHECK', 52 'TenantNo' => 'TenantNo', 53 ); 54 55 $req = new HTTP_Request($order_url); 56 $req->setMethod(HTTP_REQUEST_METHOD_POST); 57 58 $arrSendData = array(); 59 $req->addPostDataArray($arrData); 60 61 if (!PEAR::isError($req->sendRequest())) { 62 $response = $req->getResponseBody(); 63 } else { 64 $response = ""; 65 } 66 $req->clearPostData(); 67 68 print($response); 69 40 70 41 71 ?>
Note: See TracChangeset
for help on using the changeset viewer.
