2010年02月20日 過去Blog
参考元:http://www.enbridge.jp/blog/2007/08/17232951.php
    <?php
    echo "処理を開始します。しばらくお待ちください...<br />n";
    echo str_pad(" ",4096)."<br />n";

    ob_end_flush();
    ob_start('mb_output_handler');

    for ( $i = 1; $i <= 10; $i++ ) {
    sleep( 5 ); // 時間がかかる処理
    echo $i * 10 ."件の処理を完了しました<br />n";

    ob_flush();
    flush();
    }
    echo "処理が完了しました<br />n";
    ?>

この投稿へのコメント

コメントはまだありません。

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます。
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA


ピックアップ記事

Word Pressの自動アップグレードに失敗する

2011年01月12日 過去Blog
ルートディレクトリが見つかりません ディレクトリが見つからない関連のエラーは以下のように、「wp-config.php」に追加すれば、直るようです。 参考:「wp-config.php_の編集」 define('FTP_BASE', '/path/to/wordpress/'); define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/'…
「Word Pressの自動アップグレードに失敗する」をはてなブックマークに追加

zencart META内のauthor、generatorの設定

2010年06月29日 過去Blog
includes/templates/テンプレート名/common 内のhtml_header.phpを編集。 What is Darvocet?…
「zencart META内のauthor、generatorの設定」をはてなブックマークに追加

PHP strstr stristr ある文字列が含まれるかどうか調べる

2010年06月11日 過去Blog
$string = 'Hello World!'; if(stristr($string, 'earth') === FALSE) { echo '"earth" not found in string'; } // 出力は "earth" not found in string となります 参照元:http://www.php.net/manual/ja/function.st…
「PHP strstr stristr ある文字列が含まれるかどうか調べる」をはてなブックマークに追加

linux : chomod,chown パーミッション変更

2009年11月27日 過去Blog
chown USER_NAME /DIR_PATH/ chown USER_NAME -R /DIR_PATH/ -Rをつけることで指定ディレクトリ以下の全てのディレクトリ、ファイルの所有者を変更します。 physical therapy chicago…
「linux : chomod,chown パーミッション変更」をはてなブックマークに追加

tabBar + navigationBar + tableView

2011年01月19日 過去Blog
http://www.edumobile.org/iphone/iphone-programming-tutorials/tabbarcontroller-with-navigationcontroller-and-tableview-in-iphone/ http://iphone-app-developer.seesaa.net/article/130194298.html house cl…
「tabBar + navigationBar + tableView」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy