On Wed, 23 Jun 2004 08:34:17 +0200, Merlin <[EMAIL PROTECTED]> wrote: > > 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?!)
$stdout = fopen('php://stdout', 'w'); fwrite($stdout, "status message goes here\r\n"); Why would you want to print <br> tags in a console? The console isn't HTML aware. You probably just want \r\n as line delimiters. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php