octa Posted December 3, 2012 Share Posted December 3, 2012 <?php session_start(); if(!session_is_registered('myusername')){ header("location:main-login.php"); } ?> <html> <body> Login Successful </body> </html> i see error Deprecated: Function session_is_registered() is deprecated in C:\wampp\www\itvideohelps\login_success.php on line 4 Login Successful Quote Link to comment https://forums.phpfreaks.com/topic/271533-deprecated-function-session_is_registered/ Share on other sites More sharing options...
Pikachu2000 Posted December 3, 2012 Share Posted December 3, 2012 The code on phpeasystep.com is ten years out of date. Avoid that site and it's lousy tutorials. Quote Link to comment https://forums.phpfreaks.com/topic/271533-deprecated-function-session_is_registered/#findComment-1397181 Share on other sites More sharing options...
Muddy_Funster Posted December 3, 2012 Share Posted December 3, 2012 tizag.com do some nice tuts. Quote Link to comment https://forums.phpfreaks.com/topic/271533-deprecated-function-session_is_registered/#findComment-1397211 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.