hi,

                   You can store this is thes  session using session_register() 
function in php and can access this variable fron any page

Regards,
Sunilkumar


----- Original Message ----
From: Leelakh Ran <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, 23 February, 2008 9:07:36 PM
Subject: [php-list] Passing variable to second page

Hi,

Here have two pages; page1.php and page2.php.

I defiend a variable in page1.php as $storedfrom = $_SERVER["HTTP_ HOST"] .
$_SERVER["REQUEST_ URI"];

I want to access $storedfrom variable from page2.php without passing it
through URL link.

How it can access by using session variable or global variable?

Expecting yours' valuable suggestion.

Rgds, Leelakh Ran

[Non-text portions of this message have been removed]


 


      Get the freedom to save as many mails as you wish. To know how, go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

[Non-text portions of this message have been removed]

Reply via email to