Re: [PHP] Delaying Printed Output

2001-03-25 Thread Greg Scott
Have you looked into javascript/java? This client has worked up a Power Point slide presentation that he wants me to duplicate on the web. I had a PHP solution that was working fine, but then he decided to jazz up his Power Point presentation some. The adding a single line of text at time

RE: [PHP] Delaying Printed Output

2001-03-25 Thread Andrew Braund
makes no difference, the behaviour is identical. IE5 does not seem to understand multipart. The multipart mime boundary does not seem to be working properly in Netscape4.6. Regards Andrew Braund -Original Message- From: Greg Scott [mailto:[EMAIL PROTECTED]] Sent: Sunday, 25 March 2001

Re: [PHP] Delaying Printed Output

2001-03-24 Thread KPortsmout
In a message dated 24/03/2001 14:47:03 GMT Standard Time, [EMAIL PROTECTED] writes: Is it possible using PHP to print a single line of text to a browser, have a second or two delay and then print the next line, etc. etc.? Greg Hi, You can use the following commands: sleep(seconds);

Re: [PHP] Delaying Printed Output

2001-03-24 Thread Philip Olson
to go along with this, check out : Output Control Functions : http://www.php.net/manual/en/ref.outcontrol.php and some interesting ones in the Misc section : Miscellaneous Functions : http://www.php.net/manual/en/ref.misc.php links to a few tutorials are listed in ocf section.

Re: [PHP] Delaying Printed Output

2001-03-24 Thread Greg Scott
You can use the following commands: sleep(seconds); usleep(microseconds); I've tried those 2 functions, in an example like this: PRINT "Thisbr"; SLEEP(2) ; PRINT "Is abr"; SLEEP(2); PRINT "TEST"; But the way it works in the browser is to wait for a total of 4 seconds and then it displays

RE: [PHP] Delaying Printed Output

2001-03-24 Thread Jack Dempsey
couldn't do the sleep thing you wanted... anyone else? jack -Original Message- From: Greg Scott [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 24, 2001 1:42 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Delaying Printed Output You can use

Re: [PHP] Delaying Printed Output

2001-03-24 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Greg Scott) wrote: sleep(seconds); usleep(microseconds); I've tried those 2 functions, in an example like this: PRINT "Thisbr"; SLEEP(2) ; PRINT "Is abr"; SLEEP(2); PRINT "TEST"; But the way it works in the browser is to wait for

Re: [PHP] Delaying Printed Output

2001-03-24 Thread Greg Scott
You might try using flush() after the prints. I tried that too, but at least in Netscape 6, it still waits until everything is done before displaying. I think Jack must be correct that this isn't possible for browser display. Thanks, Greg -- PHP General Mailing List

Re: [PHP] Delaying Printed Output

2001-03-24 Thread Kelly Corkill
at the client. On Sat, 24 Mar 2001, CC Zona wrote: Date: Sat, 24 Mar 2001 11:06:02 -0800 From: CC Zona [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] Delaying Printed Output In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Greg Scott) wrote: sleep(seconds); usleep

RE: [PHP] Delaying Printed Output

2001-03-24 Thread Jeff Oien
I don't know if this will be helpful but you can look at this JavaScript code: http://www.webdesigns1.f2s.com/js_typing_text.php --- Jeff Oien PHP start here http://www.webdesigns1.com/php/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Delaying Printed Output

2001-03-24 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Greg Scott) wrote: You might try using flush() after the prints. I tried that too, but at least in Netscape 6, it still waits until everything is done before displaying. I think Jack must be correct that this isn't possible for browser