hrm, ok what happens if you have some php code after the last </html> tag in a file? how are the variables and whatnot effected?
i've seen some packages go like this..
*** before <html>
global $somevar;
$_SESSION['somevar'] = $somevar;
*** inside html
$somevar++;
*** after </html>
global $somevar;
$_SESSION['somevar'] = $somevar;
what's the point in re-registering it?
-flDepends what it is. If it's the header(), setcookie() or session_start() functions then PHP will generate an error.exactly, what is the point of re-registering it?
that code is redundant and not sure why you or where you got it is doing it.
although they did increment it. but again all you had to do was increment the session variable and be done with it.
i've seen some packages go like this..
*** before <html>
global $somevar;
$_SESSION['somevar'] = $somevar;
*** inside html
$somevar++;
*** after </html>
global $somevar;
$_SESSION['somevar'] = $somevar;
what's the point in re-registering it?
-flDepends what it is. If it's the header(), setcookie() or session_start() functions then PHP will generate an error.exactly, what is the point of re-registering it?
that code is redundant and not sure why you or where you got it is doing it.
although they did increment it. but again all you had to do was increment the session variable and be done with it.