Guest_imported
New member
- Jan 1, 1970
- 0
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
______________________________________________
use CGI qw
$| = 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