Changeset 1415 for temp/trunk


Ignore:
Timestamp:
2006/08/23 20:37:21 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/install/zip_install.php

    r1414 r1415  
    11<?php 
    2  
    3 print("                                                                                                                                                                                                                                                                test"); 
    4   MyFlush(); 
    5  
    6 for($i = 0; $i < 100; $i++){ 
    7     print("aa<br>"); 
    8     MyFlush(); 
    9 } 
    10  
    11 function MyFlush() { 
    12     flush(); 
    13   ob_end_flush(); 
    14   ob_start(); 
    15      
    16      
    17     sleep(1); 
    18 } 
    19  
    20 /* 
    212require_once("../require.php"); 
    223 
     
    278 
    289$objQuery = new SC_Query(); 
    29 //$objSess = new SC_Session(); 
     10$objSess = new SC_Session(); 
    3011 
    3112// ǧ¾Ú²ÄÈݤÎȽÄê 
    32 //sfIsSuccess($objSess); 
     13sfIsSuccess($objSess); 
    3314 
    3415$fp = fopen($path, "r"); 
     
    3920} 
    4021print("\n"); 
    41 flush(); 
     22MyFlush(); 
    4223 
    43 $cnt = 0; 
    44 while($cnt < 3) { 
    45     print("a"); 
    46     flush(); 
    47     sleep(1); 
    48     $cnt++; 
    49 } 
    50 */ 
    51 /* 
    5224if(!$fp) { 
    5325    sfErrorHeader(">> " . $path . "¤Î¼èÆÀ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"); 
    5426} else { 
    5527    print("<img src='/img/install/main_w.jpg'><br>"); 
    56     flush(); 
     28    MyFlush(); 
    5729     
    5830    // CSV¤Î·ï¿ô¤ò¿ô¤¨¤ë 
     
    6436     
    6537    print("<img src='/img/install/space_w.gif'>"); 
    66     flush(); 
     38    MyFlush(); 
    6739         
    6840    // ¥Õ¥¡¥¤¥ë¥Ý¥¤¥ó¥¿¤òÌ᤹ 
     
    10476        if($cnt % $disp_line == 0 && $img_cnt < IMAGE_MAX) { 
    10577            print("<img src='/img/install/graph_1_w.gif'>"); 
    106             flush(); 
     78            MyFlush(); 
    10779            $img_cnt++; 
    10880        } 
     
    11284    print($cnt - 1 . "/" . $line); 
    11385} 
    114 */ 
     86 
     87function MyFlush() { 
     88    flush(); 
     89    ob_end_flush(); 
     90    ob_start(); 
     91} 
     92 
    11593?> 
Note: See TracChangeset for help on using the changeset viewer.