[Webdev] continuous output...
Adam Beecher
adam at iewebs.com
Tue Nov 14 19:39:11 GMT 2000
You mean buffered output? i.e. it renders it as it gets it? You can do that in
PHP if you turn output buffering on, or in Perl with NPH (non parsed
header)scripts. The only resource I can think of off-hand is the Links
application by Gossamer Threads, which uses Perl and NPH scripts when it's
building the pages. Otherwise, maybe do a search on "nph" or "non parsed header"
on Google?
Also, NPH was originally introduced by Netscape. M$ never accepted the standard,
so support is a bit flaky in MSIE. You'll need to test it.
HTH,
adam
> -----Original Message-----
> From: webdev-admin at linux.ie [mailto:webdev-admin at linux.ie]On Behalf Of
> John P . Looney
> Sent: 14 November 2000 19:34
> To: webdev at linux.ie
> Subject: [Webdev] continuous output...
>
>
> I'm trying to write a CGI or something that'll output something
> continuous. As a tester, something like:
>
> #!/usr/bin/perl
> printf ("Content-type: text/plain\n\n");
> exec("/usr/bin/tail -f /var/log/messages");
>
> Would be good. Is there something special that has to be done (note, I'm
> not necassaryily going to do it in Perl, but I'm trying to work out the
> "how it should be done" thing...
>
> Kate
>
> --
> The words of the unwary are apt to cause needless pain and bloody violence.
> - Zen Master Greg
>
> _______________________________________________
> Webdev mailing list
> Webdev at linux.ie
> http://www.linux.ie/mailman/listinfo/webdev
>
More information about the Webdev
mailing list