Subject: Re: User Survey - New features!
To: Shawn Pearce <spearce@injersey.com>
From: Adam Nicol Delu (Web Information Group) <abam@ohwig01.houston.omnes.net>
List: port-mac68k
Date: 01/08/1996 18:19:52
On Mon, 8 Jan 1996, Shawn Pearce wrote:
> Problems: (Anyone know how/willing to help, please reply to this!)
I'll take a swing at it, Shawn.
>
> I tried to get server-push to work with Netscape so that while you are
> searching, you can get back real time progress. However, it doesn't work.
> So, for the time being, I have turned that off, but, if anyone knows how to
You need this at the top:
^^^^^^^^^^^^^^^^^^^^^^^^
$|=1; # This unbuffers STDOUT
> get it to work, please email me! (Basically, the code works, but the MIME
> doesn't.)
Then, assign a value for your separator:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$sometext="SomeRandomString"; #this is the name of your Mime boundary
Give it a header:
^^^^^^^^^^^^^^^^
print "HTTP/1.0 200 Okay\n"; # mime-junk
print "Content-Type: multipart/x-mixed-replace;boundary\=$sometext\n";
print "\n--$sometext\n";
now your junk:
^^^^^^^^^^^^^^
print "foo!";
sleep (5);
print "foo!";
sleep (5);
print "foo!";
. . . . . .
That should do it! Anything you print out after that will come in
bit by bit.
I wrote a perl "tail -f" that basically does this on a httpd logfile,
so that an administrator can monitor a growing log from netscape.
Need the source?
>
> The edit form is sorta ugly - everything is either a select list or a
> textarea or a text entry box. The HTML isn't great, but I'm working on
> that. If a brave soul wants to tackle how to get a radio button/check box
> interface to work, please email me! Also, if you use a select multiple box
> (like on the add form), but don't select something, when you send it back,
> that field will be blank. Thus, you could easily erase your CPU by
> forgetting to select it when you edit. Anyone know of a way around this
> beside making it a regular select-popup?
>
> ######################################################################
> # In Jersey: The Digital Information Network of the Garden State #
> # Freelance HTML/Graphics/Programmer #
> ######################################################################
> # #
> # http://nj5.injersey.com/~spearce/ ### http://www.injersey.com/ #
> ######################################################################
>
>
>
--Adam
/*-------------------------------------------------------------------------*\
Adam Nicol Delu Omnes-Houston
Web Information Group A Schlumberger / Cable & Wireless Company
tel: 1 713 513 3249 5599 San Felipe, Suite 400
fax: 1 713 513 3126 Houston, TX 77056
e-mail: delu@houston.omnes.net U.S.A.
\*--------------------------------------------------------------------------*/