Changeset 8610 for temp/trunk


Ignore:
Timestamp:
2006/11/19 20:12:42 (20 years ago)
Author:
uehara
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/test/uehara/tree.php

    r8609 r8610  
    3434        } else { 
    3535            // javascript¤ÇÊÌÁëɽ¼¨(¥Æ¥ó¥×¥ì¡¼¥È¦¤ËÅϤ¹) 
    36             $file_url = ereg_replace(USER_PATH, USER_URL, $_POST['select_file']); 
    37             echo lfReadFile($_POST['select_file']); 
    38             //$objPage->tpl_javascript = "win02('". $file_url ."', 'user_data', '600', '400');"; 
     36            //$file_url = ereg_replace(USER_PATH, USER_URL, $_POST['select_file']); 
     37            $objPage->tpl_javascript = "win02('./file_view.php?". $_POST['select_file'] ."', 'user_data', '600', '400');"; 
    3938        } 
    4039    } 
     
    148147    return $arrErr; 
    149148} 
    150  
    151 /*  
    152  * ´Ø¿ô̾¡§lfReadFile() 
    153  * °ú¿ô1 ¡§¥Õ¥¡¥¤¥ë¥Ñ¥¹ 
    154  * ÀâÌÀ¡¡¡§¥Õ¥¡¥¤¥ëÆÉ¹þ 
    155  */ 
    156 function lfReadFile($file) { 
    157     $fp = fopen($file, "r"); 
    158     $read_file = fpassthru($fp);  
    159     fclose($fp);  
    160      
    161     return read_file; 
    162 } 
    163149?> 
Note: See TracChangeset for help on using the changeset viewer.