Changeset 1415 for temp/trunk
- Timestamp:
- 2006/08/23 20:37:21 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/install/zip_install.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/install/zip_install.php
r1414 r1415 1 1 <?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 /*21 2 require_once("../require.php"); 22 3 … … 27 8 28 9 $objQuery = new SC_Query(); 29 //$objSess = new SC_Session();10 $objSess = new SC_Session(); 30 11 31 12 // ǧ¾Ú²ÄÈݤÎȽÄê 32 //sfIsSuccess($objSess);13 sfIsSuccess($objSess); 33 14 34 15 $fp = fopen($path, "r"); … … 39 20 } 40 21 print("\n"); 41 flush();22 MyFlush(); 42 23 43 $cnt = 0;44 while($cnt < 3) {45 print("a");46 flush();47 sleep(1);48 $cnt++;49 }50 */51 /*52 24 if(!$fp) { 53 25 sfErrorHeader(">> " . $path . "¤Î¼èÆÀ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"); 54 26 } else { 55 27 print("<img src='/img/install/main_w.jpg'><br>"); 56 flush();28 MyFlush(); 57 29 58 30 // CSV¤Î·ï¿ô¤ò¿ô¤¨¤ë … … 64 36 65 37 print("<img src='/img/install/space_w.gif'>"); 66 flush();38 MyFlush(); 67 39 68 40 // ¥Õ¥¡¥¤¥ë¥Ý¥¤¥ó¥¿¤òÌ᤹ … … 104 76 if($cnt % $disp_line == 0 && $img_cnt < IMAGE_MAX) { 105 77 print("<img src='/img/install/graph_1_w.gif'>"); 106 flush();78 MyFlush(); 107 79 $img_cnt++; 108 80 } … … 112 84 print($cnt - 1 . "/" . $line); 113 85 } 114 */ 86 87 function MyFlush() { 88 flush(); 89 ob_end_flush(); 90 ob_start(); 91 } 92 115 93 ?>
Note: See TracChangeset
for help on using the changeset viewer.
