This is a discussion on see all variables POSTed to a script within the alt.comp.lang.php forums, part of the PHP Programming Forums category; What code would you suggest to see all the parameters and their values that are posted to a script ? The ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Message-ID: <kuzLh.75396$8v5.544807@phobos.telenet-ops.be> from Peter
contained the following: >What code would you suggest to see all the parameters and their values that >are posted to a script ? foreach($_POST as $key=>$value){ echo "Key: $key Value:$value<br>"; } -- Geoff Berrow 0110001001101100010000000110 001101101011011001000110111101100111001011 100110001101101111001011100111010101101011 |
|
|||
|
On 19 Mar, 17:44, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
> Message-ID: <kuzLh.75396$8v5.544807@phobos.telenet-ops.be> from Peter > contained the following: > > >What code would you suggest to see all the parameters and their values that > >are posted to a script ? > > foreach($_POST as $key=>$value){ > echo "Key: $key Value:$value<br>"; > > } > > -- > Geoff Berrow 0110001001101100010000000110 > 001101101011011001000110111101100111001011 > 100110001101101111001011100111010101101011 and indeed print_r( $_POST ); |