
January 20th, 2013, 09:33 AM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 28
Time spent in forums: 5 h 2 m 41 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by Jacques1 Hi,
that "session_is_registered" is ancient, where do you even got it from? You're also missing an "exit;" after the redirect, so the PHP code will keep running. |
But it works, at least for the head page.
In the head page I include one page and I have one link to load another page.
I know it's ancient. PHP manual says:
Quote: | This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. |
I will try:
PHP Code:
session_start();
$_SESSION['number'];
if (isset($_SESSION['number']){ //do.. }
|