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 :)
>
> /
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() ;