Changeset 8707 for temp/trunk/html/test


Ignore:
Timestamp:
2006/11/21 10:00:29 (20 years ago)
Author:
uehara
Message:

blank

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

Legend:

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

    r8705 r8707  
    2525    $now_dir = $top_dir; 
    2626} 
     27 
     28// ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹ 
     29$objUpFile = new SC_UploadFile(IMAGE_TEMP_DIR, $now_dir); 
     30 
     31// ¥Õ¥¡¥¤¥ë¾ðÊó¤Î½é´ü²½ 
     32lfInitFile(); 
     33// Hidden¤«¤é¤Î¥Ç¡¼¥¿¤ò°ú¤­·Ñ¤° 
     34$objUpFile->setHiddenFileList($_POST); 
    2735 
    2836switch($_POST['mode']) { 
     
    7987// ¥Õ¥¡¥¤¥ë¥¢¥Ã¥×¥í¡¼¥É 
    8088case 'upload': 
     89    // ¥Õ¥¡¥¤¥ë¸ºß¥Á¥§¥Ã¥¯ 
     90    $arrErr = (array)$objUpFile->checkEXISTS($_POST['upload_file']); 
     91    // ²èÁüÊݸ½èÍý 
     92    $arrErr[$_POST['upload_file']] = $objUpFile->makeTempFile($_POST['upload_file']); 
    8193    break; 
    8294// ½é´üɽ¼¨ 
     
    114126function lfInitFile() { 
    115127    global $objUpFile; 
    116     $objUpFile->addFile("¥Õ¥¡¥¤¥ë", 'upload_file', array('csv'), CSV_SIZE, true, 0, 0, false); 
     128    $objUpFile->addFile("¥Õ¥¡¥¤¥ë", 'upload_file', array(), FILE_SIZE, true, 0, 0, false); 
    117129} 
    118130?> 
Note: See TracChangeset for help on using the changeset viewer.