Moderators: OldWolf, re*s.t.a.r.s.*2
re*s.t.a.r.s.*2 wrote:Thats not possible,
......
Bees defy the laws of physics and aerodynamics when they fly - but they don't know that. They fly.
Possible or not, I have seen several users discover it could be done, and having a great time flicking between names. Later, when all was quiet, I tested it myself, using Firefox. It's what happened.
pfcglobalconfig.class.php entry is thus:
var $frozen_nick = true;
However ?
I have already identified the user, but a couple of pages of entry questions, and the user name is now in their session.
Should I do something with this variable:
var $nick = "";
??
Cheers!
if ($_SESSION['name'] == "") header ("Location: index.php");
$userIsLogged=$_SESSION['name'];
if(!$userIsLogged){
header ("Location: index.php");
}
re*s.t.a.r.s.*2 wrote:however you authenticate user would be better doing this:
- Code: Select all
$userIsLogged=$_SESSION['name'];
if(!$userIsLogged){
header ("Location: index.php");
}
just shutting out this dont know how you authenticate your user...
that would be a cleaner way to do it... regards
if(!isset($_SESSION['name']) || empty($_SESSION['name']))
header ("Location: index.php");
Return to General Support (v1.x)
Users browsing this forum: No registered users and 39 guests