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:
rocess), 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 (I think
this is what's happening).
Yes, I've read the stonehenge article which uses traceroute as an
example, but cannot get that to work on my Windows perl v5.8.8. I
tried some of the concepts from this article, but it's a bit out of my
league.
At this point I cannot spend much more time trying to get this to work
myself, and I need a simple, yet professional level solution. I've
read lots of forums, paged thru numerous books, I can't really spend
time on that anymore. I need something that works, and I need it this
week.
I know this can probably be done in javascript, but I'd prefer this to
be done in Perl. Also, I won't be able to install any modules, we'll
have to use what's installed by default.
thanks!