Re: Posting variable outside of the post form

From: Date: Mon, 12 Mar 2007 19:35:02 +0000
Subject: Re: Posting variable outside of the post form
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-250312@lists.php.net to get a copy of this message
----- Original Message ----- From: "David Giragosian" <dgiragosian@gmail.com> To: "Otto Wyss" <otto.wyss@orpatec.ch> Cc: <php-general@lists.php.net> Sent: Monday, March 12, 2007 8:18 PM Subject: Re: [PHP] Posting variable outside of the post form
On 3/12/07, Otto Wyss <otto.wyss@orpatec.ch> wrote:
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
Cookie, session variable, session cookie, database layer... David
Or a hidden field <input type=hidden> but, since you mentioned the value might be large, it might either be advisable to take any of David's sugestions or change to a method=post. Satyam

« previous php.general (#250312) next »