Changeset 15374 for branches/dev/html


Ignore:
Timestamp:
2007/08/27 21:30:28 (17 years ago)
Author:
naka
Message:
 
Location:
branches/dev/html
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/resize_image.php

    r12194 r15374  
    1717 
    1818?> 
     19 
  • branches/dev/html/test/naka/recv.php

    r8 r15374  
    11<?php 
    2 require_once("../../require.php"); 
    3 require_once(DATA_PATH . "module/Request.php"); 
    42 
    5 $strmask = "/home/web/test.ec-cube.net/cgi-bin/ShopCGI/common/strmask/FreeBSD_4.4/strmask.exe"; 
    6 $cmd = $strmask . " -d " . $_GET['SendData']; 
     3print_r($_POST); 
    74 
    8 $tmpResult = popen($cmd, "r"); 
    9  
    10 // ·ë²Ì¼èÆÀ 
    11 while( ! FEOF ( $tmpResult ) ) { 
    12     $result .= FGETS($tmpResult); 
    13 } 
    14 pclose($tmpResult);             //  ¥Ñ¥¤¥×¤òÊĤ¸¤ë 
    15  
    16 $arrRet = lfGetPostArray($result); 
    17 gfDebugLog($arrRet); 
    18  
    19 //--------------------------------------------------------------------------------------------------------------------------------- 
    20 function lfGetPostArray($text) { 
    21     if($text != "") { 
    22         $text = ereg_replace("[\n\r]", "", $text); 
    23         $arrTemp = split("&", $text); 
    24         foreach($arrTemp as $ret) { 
    25             list($key, $val) = split("=", $ret); 
    26             $arrRet[$key] = $val; 
    27         } 
    28     } 
    29     return $arrRet; 
    30 } 
    315?> 
Note: See TracChangeset for help on using the changeset viewer.