I wrote a basic authorization script using $PHP_AUTH_USER and the auth pop-up. I want to add a logout button, the problem with that is that i don't know how to do so. The php manual says to send the browser a 401 error. i tried to do so by sending it through the header to no avail. can someone please show me the code to do so?
thank you in advance,
Loctan