Search the Community
Showing results for tags 'banned'.
-
So i used fileZila and was kinda getting familiary with it and it failed to connect due to worng protocol. Apperenty it has happened so mayn times it got my ip blocked. So it suggested me to come here for help. Thanks guys for help and support!
- 1 reply
-
- blocked ip
- unblock
-
(and 3 more)
Tagged with:
-
Hey. I'm trying to make a banned user script. I want it so if a banned user trys to enter the chatroom, it brings them to a new page. My problem is, it acts like every user is a banned user... o.O Here is the part in the php code that gets the users "rank" from the db when they login. $row = mysql_fetch_assoc($result); session_register($row['rank']=$userlevel); Then here is the part of the code for the chatroom that checks if the user is a banned user or not: <?php session_start(); if(!session_is_registered(myusername)){ header("location:/login/main_login.php"); //This is just checking if the user is logged in or not. } if(session_register($userlevel=='banned')) { header("location:../banned.html"); } So that's it. Thanks. ~ Spencer