#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    6
    Rep Power
    0
    Often PHP processes take a long time, such as wildcard searching a PostgreSQL database, or generating thumbnails.

    The PHP host page does not display until the script is complete, so you can not effectively use code such as

    echo "Converting file ".$Infile;
    exec(convert $Infile $O8utfile);

    for realtime feedback to the user.

    How have others implemented a "progress meter" in PHP processes , one thought I had was to use Javascript redirection to call a PHP page with differing parameters each time .

    Any thoughts
    Thanks -Gordon
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    32
    Rep Power
    15
    That's what flush() is for...

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 11:45 PM
  2. How to email in PHP and keeping periods intact?
    By kyliecoast in forum PHP Development
    Replies: 7
    Last Post: February 9th, 2004, 11:10 PM
  3. keeping results from a db inside php
    By gallafrax in forum PHP Development
    Replies: 6
    Last Post: February 5th, 2004, 07:26 AM
  4. How to check how many users are connected in php
    By chandar in forum PHP Development
    Replies: 1
    Last Post: January 29th, 2004, 10:30 AM
  5. PHP users group
    By rec in forum Flash Help
    Replies: 2
    Last Post: January 28th, 2004, 08:32 PM

IMN logo majestic logo threadwatch logo seochat tools logo