Thanks for the code. It's given me a good start on password protecting other pages on my site.
However, I'm having some problems.
I need secure pages to check if there's a vb cookie, and if there's not they can sign in using their vb username and password. Then they would see the protected pages.
This code posts login information to the vb index.php file, but after logging in it dumps the user at the forum. I need to have the user dumped at the page they were trying to view. Also, if an incorrect login is used the user is just dumped at the forum.
Any help would be greatly appreciated.
|