Re: Another way to send variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 13, 2008 at 3:49 PM, R B <rbpphp@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux