Skip site navigation (1) Skip section navigation (2)

Re: delayed passing of values in form

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: "pgsql-php(at)postgresql(dot)org" <pgsql-php(at)postgresql(dot)org>
Subject: Re: delayed passing of values in form
Date: 2003-03-19 18:02:01
Message-ID: Pine.BSF.4.44.0303191259430.18837-100000@paprika.michvhf.com (view raw or flat)
Thread:
Lists: pgsql-php
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.


In response to

pgsql-php by date

Next:From: Christopher Kings-LynneDate: 2003-03-20 02:09:18
Subject: Re: icon on website
Previous:From: Vince VielhaberDate: 2003-03-19 17:36:09
Subject: Re: icon on website

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group