PDA

View Full Version : Authentication Please Help


conan
03-19-2001, 05:48 AM
Can anyone please help me use vb's user table to authenticate users on othe pages?

For instance if I wish to have another part of my site exclusive to members, using a php login and pass, how would I do that?

Your help will be greatly appreciated

03-20-2001, 10:38 AM
Anyone?

03-20-2001, 02:23 PM
Try this:


require("global.php");
if (!$bbuserinfo[userid]) {
show_nopermission();
}


That is untested but it should work ok, put that at the top of the file.

03-20-2001, 07:57 PM
thanks a lot

03-20-2001, 08:24 PM
Originally posted by conan
thanks a lot

That work Conan?Cause i want to add that

03-20-2001, 08:48 PM
It worked, but does anyone figured out how to protect a site for a special usergroup know...?