Hi, This is an older problem that I posted to the list and since the solutions posted didnt really work, I started searching for a different solution.
Required result: After each email show the client a message: eg: Sent email #1 Sent email #2 etc
The message should display after each email which is easily enough done via simple echo but the problem is that all browsers wait and display a crapload of "sent email #x" instead of one by one....
I tired Andre's solution of flush() but like its documented in the manual, its giving problems on NN and tiny problems on IE :-(....I am sure many of you more seasoned php guys must have faced a problem like this and maybe used a flash "progress bar"? If yes, any chance of sharing that file with me or giving me a URL to one such file which interacts with the php "sending mail script"?
Have been searching google for the past 30 mins...will continue to search, but have not made this myself as I dont know flash well enough....
Any ideas?
Thanks, -Ryan
I've run into this problem and the only way to possibly make it better (that I've found) is to do a flush() as well as echo a large block of text (and I mean large) to force the webserver to flush instead of cache AND to force the browser to display (if not enough is sent to the browser, it will just cache it on the client side). Note that once you have this working, you could also have some JS flushed which made a simple progress bar.
-- paperCrane <Justin Patrin>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php