Help!!!! PHP Login Setup

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
maudenton

Help!!!! PHP Login Setup

Post by maudenton » Mon Oct 01, 2012 9:42 am

Hello,
I am a newbie to php and need some help. I am trying to create a membership site and did so with this tutorial -----> http://www.phpeasystep.com/workshopview.php?id=6 in expression web. Everything seems to work fine except once i try to log in i get this error ----->
Deprecated: Function session_is_registered() is deprecated in D:\Hosting\9866233\html\newlaw\login_success.php on line 13
Login Successful


this is the line/section it is referring to ---->
<?php
session_start();
if(!session_is_registered(myusername)){
header("location:main_login.php");
}
?>


Can someone tell me how to fix this so it works, all the other information for the tutorial can be found at the link above or point me to another basic tutorial that actually works Please!!!

maudenton

Re: Help!!!! PHP Login Setup

Post by maudenton » Tue Oct 02, 2012 1:25 pm

Thank you !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! a million times. That worked!!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests