How to add Logout link

Started by therockwwe, November 22, 2007, 04:55:11 AM



I am a Php beginner, but so far this script has worked wonderfully

I am wondering how do I add a logout link to my page

Any help is greatly appreciated

Thanks in advance



To logout you need to link to any protected page (or to login.php) adding logout=1 parameter.
For example you protected pages members-only.php, members.php. Then any of the following would work.
<a href="">Logout</a>
<a href="">Log out</a>
<a href="">Logout</a>


Hi I tried adding the link changing to my own domain and sunsequent path yet the link goes to not my domain, why is that????