[prev in list] [next in list] [prev in thread] [next in thread]
List: cgi-list
Subject: [CGI] Streaming Chat...
From: "Charles Bates" <holomax () xmail ! com>
Date: 2000-08-30 5:19:05
[Download RAW message or body]
I have a chat script that I'd like to add a "streaming" mode to. I came across the following code which supposedly does this, but I can't seem to get it to work:
______________________________________________
use CGI qw(:push -nph);
$| = 1;
print multipart_init(-boundary=>'----');
print multipart_start(-type=>'text/html');
while (1) {
print "HTML goes here...";
sleep 1;
}
print multipart_end;
______________________________________________
Is there anyone who'd be willing to look at the chat script and help me out with this?
Thanks,
Charles
holomax@xmail.com
=====================
Sent by Xmail
www.Xmail.com
Get your free mail account at www.xmail.com
-----------------------------------------------------------------
To unsubscribe, send mail to "majordomo@jann.com" with "unsubscribe cgi-list"
in the body.
CalendarPlus v3.0 with JavaPlus is available NOW!
http://www.calendarplus.com/
The CGI Tips & Tricks website (and archive of the list) is located
at http://perl.jann.com/
-----------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic