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

Revision 8555, 510 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
8$arrData = array(
9    'order_number' => '1',
10    'trans_code' => '1',
11    'paid' => 1
12);
13
14$req = new HTTP_Request($order_url);
15$req->setMethod(HTTP_REQUEST_METHOD_POST);
16       
17$arrSendData = array();
18$req->addPostDataArray($arrData);
19if (!PEAR::isError($req->sendRequest())) {
20    echo("Á÷¿®´°Î»");
21} else {
22    echo("Á÷¿®¼ºÇÔ");
23}
24
25$req->clearPostData();
26
27?>
Note: See TracBrowser for help on using the repository browser.