Re: no "POST" or "GET" available
| From: | Stephen | Date: | Sat, 26 Apr 2003 14:06:31 +0000 |
| Subject: | Re: no "POST" or "GET" available | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10717@lists.php.net to get a copy of this message | ||
When using post of get data, you must reference to it like this
instead of $val_demo use $_POST['val_demo'] (if sent via post)
or $_GET['val_demo'] for get
http://www.php.net/manual/en/security.registerglobals.php
for more
infomation
----- Original Message -----
From: "Michael Timinger" <me@timinger.net>
To: <php-install@lists.php.net>
Sent: Saturday, April 26, 2003 11:52 AM
Subject: [PHP-INST] no "POST" or "GET" available
> Hello!
> After installing PHP no POST or GET command to get data out of formulars
is
> working.
> Using the getenv command I can see, that the variables are sent to the new
> page, but the it is impossible to adress those values
> :: sample
> <form method="POST" action="test.php">
> <input type="text" value="val_demo">
> <input type="submit" name="Submit" value="Speichern">
> </form>
>
> --- test.php
> <?php
> echo "test: " . $val_demo;
> ?>
>
> Interesting, that phpmyadmin is working. I am running out of ideas and
> thanks vor help in advance!
>
> "Whatever you can do or dream you can, begin it.
> Boldness has genius, power and magic in it."
> ---------------------------------------
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>