just use the flush() method. this will send all text that is already pinted see the documentation for more info
example: print "hello"; flush(); sleep(1000); print " world"; gr GB "Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there, > > I am writing a backup_restore file which creates directories and picture files > with different resolutions out of an original file. > > After each process completes I would like to print out a [ok] message, but > unfortunatelly it prints those msg out only when the script is completely > through and done. > > How can I echo out status messages? > > The script is run by console php. ( I also noticed that \n or <br> does not work > for the console?!) > > Thank you for any help, > > Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php