source: temp/trunk/html/test/kakinaka/send.php @ 8650

Revision 8650, 644 bytes checked in by kakinaka, 20 years ago (diff)

blank

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2
3require_once("../../require.php");
4require_once(DATA_PATH . "module/Request.php");
5
6//$order_url = "http://test.ec-cube.net/ec-cube/load_module.php?module_id=4";
7$order_url = "http://test.ec-cube.net/ec-cube/test/kakinaka/epsilon_check.php";
8
9$arrData = array(
10    'order_number' => '1',
11    'trans_code' => '1',
12    'paid' => 1
13);
14
15$req = new HTTP_Request($order_url);
16$req->setMethod(HTTP_REQUEST_METHOD_POST);
17       
18$arrSendData = array();
19$req->addPostDataArray($arrData);
20if (!PEAR::isError($req->sendRequest())) {
21    echo("Á÷¿®´°Î»");
22} else {
23    echo("Á÷¿®¼ºÇÔ");
24}
25
26sfprintr($req->getResponseBody());
27
28$body = "Content-Type: text/plain
29
301";
31
32?>
Note: See TracBrowser for help on using the repository browser.