Send a user to another page by clicking a link - kick user
Posted: Mon Mar 08, 2010 8:30 am
Currently working on a chat website and i am trying to figure out how to allow an admin to click a link and send a particular member to another page. Mainly this is to kick a user out of a chatroom.
This is only for members of the site, so i will be using a database to pull which user to be kicked. The page they will be sent to is constant (kicked.php)
Any database functions i can probably figure out and code. I just dont know if there is a way to actually kick a specific user off a page by clicking a link. I know it can be done, since the function exists in chatrooms, just not this one.. yet. but im not sure if i can do it in php or if i need to tap into javascript, ajax, or something else.
Any help is greatly appreciated.
Jason
This is only for members of the site, so i will be using a database to pull which user to be kicked. The page they will be sent to is constant (kicked.php)
Any database functions i can probably figure out and code. I just dont know if there is a way to actually kick a specific user off a page by clicking a link. I know it can be done, since the function exists in chatrooms, just not this one.. yet. but im not sure if i can do it in php or if i need to tap into javascript, ajax, or something else.
Any help is greatly appreciated.
Jason