Changeset 5953 for temp/trunk/data/lib
- Timestamp:
- 2006/10/02 10:31:30 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/lib/slib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r5934 r5953 2512 2512 } 2513 2513 2514 function sfFlush($output = " ", $second = 3600, $sleep =30){ 2515 // ¼Â¹Ô»þ´Ö¤òÀ©¸Â¤·¤Ê¤¤ 2516 set_time_limit(0); 2517 // ½ÐÎϤò¥Ð¥Ã¥Õ¥¡¥ê¥ó¥°¤·¤Ê¤¤(==ÆüËܸ켫ưÊÑ´¹¤â¤·¤Ê¤¤) 2518 ob_end_clean(); 2519 // IE¤Î¤¿¤á¤Ë256¥Ð¥¤¥È¶õʸ»ú½ÐÎÏ 2520 echo str_pad('',256); 2521 // »ØÄê»þ´Ö¥ë¡¼¥× 2522 for ($time=time(); time()<$time+$second; ) { 2523 // ¥Ö¥é¥¦¥¶¤ò¤¢¤¤é¤á¤µ¤»¤Ê¤¤¤¿¤á¤Á¤Ó¤Á¤Ó·ë²Ì½ÐÎÏ 2524 // ½ÐÎϤϥ֥é¥ó¥¯¤À¤±¤Ç¤â¤¤¤¤¤È»×¤¦ 2525 echo $output; 2526 // ½ÐÎϤò¥Õ¥é¥Ã¥·¥å¤¹¤ë 2527 flush(); 2528 // »þ´Ö¤Î¤«¤«¤ë½èÍý 2529 sleep($sleep); 2530 } 2531 } 2532 2514 2533 /* ¥Ç¥Ð¥Ã¥°ÍÑ ------------------------------------------------------------------------------------------------*/ 2515 2534 function sfPrintR($obj) {
Note: See TracChangeset
for help on using the changeset viewer.
