Results 1 to 3 of 3

Thread: hai

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    40

    hai

    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

  2. #2
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    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

    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: hai

    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
    Do your posts ever have meaningful subjects?
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width