ok
i have a vBulletin forum and i do a php programe i want to just a Members can enter to my programe ---------------------}
code check a user name and apassword from the database of the forum
Printable View
ok
i have a vBulletin forum and i do a php programe i want to just a Members can enter to my programe ---------------------}
code check a user name and apassword from the database of the forum
PHP Code://Connect to the database
$query = mysql_query("select * from users where user='{$_REQUEST['variable']}' and password='".md5($_REQUEST['variable'])."'");
if (mysql_num_rows($query) == 1) {
// A member of your forum
} else {
// Not a member of your forum
}
Do your posts ever have meaningful subjects?Quote:
Originally posted by Aiman
ok
i have a vBulletin forum and i do a php programe i want to just a Members can enter to my programe ---------------------}
code check a user name and apassword from the database of the forum