Re: Another way to send variables

From: Date: Fri, 13 Jun 2008 21:56:08 +0000
Subject: Re: Another way to send variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-275368@lists.php.net to get a copy of this message
On Fri, Jun 13, 2008 at 3:49 PM, R B <rbpphp@gmail.com> wrote: > Hello. > > I have this script (script1.php): > > <?php > $a = "Hello"; > header("Location: script2.php"); > ?> > > I need to send the $a variable to script2.php, but i don´t want to send it > in the url. > > Is there another method? > > Maybe with another header instruction without putting in the url? store the variable in a session, on disk (explicitly), in apc (or something similar), or a database. -nathan

« previous php.general (#275368) next »