Jump to content

php help


the-botman

Recommended Posts

i need some help with this small code, it used to work but it seems php has done away with some old stuff and i now get this error msg

This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

what would be the right way to put this now

	if ($Logout == "True") {
	session_start();
	if (session_is_registered('Usr_Id')) { 
		$_SESSION['Usr_Id'] = ""; 
	}
}

Link to comment
https://forums.phpfreaks.com/topic/268218-php-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.