Re: Posting variable outside of the post form
| From: | Haydar Tuna | Date: | Tue, 13 Mar 2007 06:29:29 +0000 |
| Subject: | Re: Posting variable outside of the post form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250394@lists.php.net to get a copy of this message | ||
Hello,
If your variable is not most important for your application
security, you should use HTML hidden form field but If your variable is
most important for your application security, you should use session
variable. I think in your HTML form, you use GET method. In this method, all
HTML form fields appear on your browser address bar and if you want to hide
HTML form fields before send , you can use POST method. For a long HTML form
variable you can use POST method:)
--
Haydar TUNA
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net
"Otto Wyss" <otto.wyss@orpatec.ch> wrote in message
news:0E.0E.07719.706A5F54@pb1.pair.com...
>I submit a form back to itself with
>
> action="<?PHP echo $_SERVER['PHP_SELF']; ?>"
methode="get"
>
> yet I've a large PHP variable which I'd like to access afterwards as well.
> Is this possible somehow?
>
> O. Wyss