[Newlug] Linux batch script question
bernard_starzewski at yahoo.com
Sat Apr 9 14:07:16 UTC 2011
The easy part to this is that you can run the server side script manually and actually duplicate the problem.
Just dont assume what you are getting from the client.
But I just want to emphasize that server side GET and POST are mutually exclusive.
You cant do both in the same script.
At least as far as I've evern known.
--- On Fri, 4/8/11, S'A'Alis <siemakalalis at gmail.com> wrote:
> From: S'A'Alis <siemakalalis at gmail.com>
> Subject: Re: [Newlug] Linux batch script question
> To: newlug at newlug.org
> Date: Friday, April 8, 2011, 3:41 PM
> On Fri, Apr 8, 2011 at 3:33 PM,
> Bernard Starzewski
> <bernard_starzewski at yahoo.com>
> > But none of that makes sense.
> > Where does the query string come from?
> > Isnt that the key to the invoice to search for?
> > If thats whats getting passed on the command line then
> you cant also have a POST going on farther down the line.
> > You can only do one or the other, not both.
> I guess I don't know enough about the process. I had
> "assumed" the
> query string was coming from some frontend app (e.g. a PHP
> within the page).
> What makes sense to me is why he's getting the behaviour of
> the script
> "hanging" -- if there's no input to it, as you and I
> pointed out, cat
> will just "hang" waiting on EOF.
> Like he said, he'll have some "fun" working this
> issue. If I were
> there, I'd probably do the same thing... put some debugging
> in *all*
> items in the stream (any frontend programs, the CGI, any
> processing, etc.) and see where things are breaking
> down. I'm sure
> you would, too. I guess I expected this is what he'll
More information about the Newlug