Re: need help, will pay



boman wrote:

On Sep 2, 12:49 pm, Nathan Keel <na...@xxxxx> wrote:
boman wrote:
Need help with a simple Perl cgi script running from Apache 2.2 on
Windows XP, willing to pay $100 for the solution. Please email me for
details. Prefer NYC-based coder, payment in cash.

Why don't you post what the error is and the relevant portions of the
script?  You can probably get good help for no charge right now.

This question has been asked before, and I've tried almost all of the
solutions, with no success. So I'm trying not to annoy this group by
asking the question again. After the reading the "why doesn't this
work" thread from Aug 20, I didn't want to start another brawl.

But you graciously asked, Nathan, so here goes!

1. display web page with simple form w/ radio buttons
2. user selects radio button and clicks submit
3. single parameter is passed from the radio button
4. exe command on web server is initiated (I was using
Win32::Process), parameter is passed
5. output of command is sent back to browser in real time (this is
where I'm stuck)
6. when command is done, start 2nd command, send output to browser in
real time

I've got 1-4 working, but cannot get output of command to the browser
in real time, as the output is generated. It simply waits for command
to finish, then sends the entire out put in one blob.

Yes, I've got the $|=1 set, and I made sure apache is not buffering
output, but can't get around the browsers doing the buffering


A quick and easy way around browser buffering is to print something like
this 100 or so times after every line you output.

<!-- this wont show up on the page but will force the browser to flush -->



--
Brian Wakem

.



Relevant Pages

  • Re: need help, will pay
    ... Windows XP, willing to pay $100 for the solution. ... output of command is sent back to browser in real time (this is ...
    (comp.lang.perl.misc)
  • Re: need help, will pay
    ... output of command is sent back to browser in real time (this is ... familiar with Perl. ...
    (comp.lang.perl.misc)
  • Re: How to edit a read-only file
    ... It does not really matter if the editor is a gui ... <When you start a gui editor from the desktop, ... Just imagine what could happen if you start a web browser ... That is questionable, but for one, the command line ...
    (comp.os.linux.misc)
  • Re: Problem with WSH Shell Exec StdOut
    ... catch its StdOut stream in real time. ... then almost immediately I get a command window displaying the following: ... You have to abort the script by ending the ...
    (microsoft.public.scripting.vbscript)
  • Re: Problem with WSH Shell Exec StdOut
    ... catch its StdOut stream in real time. ... NeroCmd.exe is a command line utility included ... Here is the script I'm currently using: ...
    (microsoft.public.scripting.vbscript)