Re: [PHP-WIN] Re: Newbie Q

2003-07-18 Thread Mike Jenck
try $_SERVER["PHP_SELF"] Mike "Gabriel_k" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Oh, I accidently typed PHP_INFO, but I DID USE PHP_SELF, with and without a > dollar sign, and none worked. I tried the same with PATH_INFO. > > But I will check out the manual first :) > > /

[PHP-WIN] Re: How to preserve value ?

2003-08-14 Thread Mike Jenck
You might try something like this if !isset($value) { $value = 1 } "Thomas Edward Lawrence" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have three pages : > > page1.php > session_start() ; > session_register("value") ; > $value = 1 > ?> > > page2.php > session_start() ;