Re: delayed passing of values in form

Re: delayed passing of values in form

am 18.03.2003 14:39:07 von Robert-Reinder Nederhoed

Hello Ryanne,


Is it a problem? What was the idea of posting?

My guess is you have sent the variables using POST and have also set a GET-querystring in the form target-url (named 'action'):

action=\"$root/maindemoutputmap.php?prid=".$prid

The default order of processing the query variables is GPC, being GET, POST and COOKIE.
So your GET querystring is overruled by the POSTed form-data.

If you would like other behaviour, stop passing the $prid in the form action field:

action=\"$root/maindemoutputmap.php\"



Greetings, Robert-Reinder (rr@sodutch.com)

http://rr.sodutch.com/

--
Een papegaai is geen olifant

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Re: delayed passing of values in form

am 19.03.2003 19:02:01 von Vince Vielhaber

On Tue, 18 Mar 2003, Robert-Reinder Nederhoed wrote:

> My guess is you have sent the variables using POST and have also set a GET-querystring in the form target-url (named 'action'):
>
> action=\"$root/maindemoutputmap.php?prid=".$prid
>
> The default order of processing the query variables is GPC, being GET, POST and COOKIE.
> So your GET querystring is overruled by the POSTed form-data.
>
> If you would like other behaviour, stop passing the $prid in the form action field:
>
> action=\"$root/maindemoutputmap.php\"

Or pass it as a command line argument:

action=\"$root/maindemoutputmap.php?".$prid."\"

and pick it up inside as $argv[0] (provided your config allows command
line args).

Vince.
--
Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/
http://www.meanstreamradio.com http://www.unknown-artists.com
Internet radio: It's not file sharing, it's just radio.


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org