Jeff wrote:
> I've gotten a shell script from netscape's page on server push that
didn't work with my version of netscape-- but sure, send it along.
Here it is following my sig. It's a Unix shell script that works with
NCSA and Apache httpd and with a Netscape client. It may also work with
MSIE5. It comes from:
HTML: The Definitive Guide. O'Reilly http://www.oreilly.com Chuck
Musciano & Bill Kennedy. 3rd Edition. ISBN 1-56592-492-4 There's a nice
engraving of a Koala on the front cover.
Andrew Martin
Cuddly Kiwi...
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
Online @ 33,600 Baud!
-><-
#!/bin/sh
#
# Let the client know we are sending a multipart document
# with a boundary string of "NEXT"
#
echo "HTTP/1.0 200"
echo "Content-type: multipart/x-mixed-replace;boundary=NEXT"
echo ""
echo "--NEXT"
while true
do
#
# Send the next part, followed by a boundary string
# Then sleep for five seconds before repeating
#
echo "Content-type: text/html"
echo ""
echo "<html>"
echo "<head>"
echo "<title>Processes On This Server</title>"
echo "</head>"
echo "<body>"
echo "<h3>Processes On This Server</h3>"
echo "Date:"
date
echo "<p>"
echo "<pre>"
ps -el
echo "</pre>"
echo "</body>"
echo "</html>"
echo "--NEXT"
sleep 5
done