Changeset 8645 for temp/trunk


Ignore:
Timestamp:
2006/11/20 13:10:47 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/html/test/kakinaka
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/test/kakinaka/epsilon_check.php

    r8536 r8645  
    22require_once("../../require.php"); 
    33require_once(MODULE_PATH . "mdl_epsilon/mdl_epsilon.inc"); 
     4require_once(DATA_PATH . "module/Request.php"); 
    45 
    56$objQuery = new SC_Query(); 
    6  
     7/* 
    78// trans_code ¤ò»ØÄꤵ¤ì¤Æ¤¤¤Æ³î¤Ä¡¢Æþ¶âºÑ¤ß¤Î¾ì¹ç 
    89if($_POST["trans_code"] != "" and $_POST["paid"] == 1 and $_POST["order_number"] != ""){ 
     
    1819    } 
    1920    gfPrintLog("epsilon conveni end-----------------------------------------------------------", $log_path); 
    20 } 
     21*/ 
     22 
     23    // URI¤«¤é³Æ¾ðÊó¤ò¼èÆÀ 
     24    $info = parse_url( $_SERVER["REQUEST_URI"] ); 
     25    $scheme = $info['scheme']; 
     26    $host = $info['host']; 
     27    $port = $info['port']; 
     28    $path = $info['path']; 
     29 
     30    $req =& new HTTP_Request($_SERVER["REQUEST_URI"]); 
     31    $req->addHeader("Content-Type", "text/plan"); 
     32     
     33$body = "Content-Type: text/plain 
     34 
     351"; 
     36 
     37    $req->setBody($body); 
     38     
     39    sfprintr($req->getResponseBody()); 
     40     
     41    $req->clearPostData(); 
     42     
     43    if (PEAR::isError($req)) { 
     44        echo $req->getMessage(); 
     45    } else { 
     46        echo $req->getResponseBody(); 
     47    } 
     48//} 
    2149 
    2250?> 
  • temp/trunk/html/test/kakinaka/send.php

    r8555 r8645  
    2323} 
    2424 
    25 $req->clearPostData(); 
     25$body = "Content-Type: text/plain 
     26 
     271"; 
    2628 
    2729?> 
Note: See TracChangeset for help on using the changeset viewer.