Results 1 to 6 of 6

Thread: Get Username & Passwords to Login from Webpage [Help]

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2006
    Location
    Sheffield, UK
    Posts
    35

    Post Get Username & Passwords to Login from Webpage [Help]

    Hey, I'm making a Program, and i want it to Connect to a Webpage that will contain the username and passwords/emails and if the username & Password is there then login, How can i do this? i'm not too good at this Part of it all.

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Get Username & Passwords to Login from Webpage [Help]

    It all depends on what web page it is. Can you post the URL?

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2006
    Location
    Sheffield, UK
    Posts
    35

    Post Re: Get Username & Passwords to Login from Webpage [Help]

    The Webpage will just be formatted like this

    ID, username, email, password
    ID, username, email, password
    ID, username, email, password
    ID, username, email, password

    ID - Member Number.
    Either HTML or PHP, Whichever is easyer and faster for this stuff
    Just need help to get that info and register that info? for new user

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Get Username & Passwords to Login from Webpage [Help]

    Do you need to do this against a form? Submit it?

    What language are you using?

  5. #5

    Thread Starter
    Member
    Join Date
    Sep 2006
    Location
    Sheffield, UK
    Posts
    35

    Re: Get Username & Passwords to Login from Webpage [Help]

    I'm in VB6 or 2008, I want the User to fill in some Textbox's with details, then when they click submit..if the user pass is in the webpage and its a user then login.//

  6. #6
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Get Username & Passwords to Login from Webpage [Help]

    Ok, just to clarify...

    The webpage has a list of valid usernames/passwords/emails, etc.

    When someone logs in on your program, your program checks to see if the username/password they entered is on that webpage.

    If it is, they are logged in.

    Is that correct?

    The best way would be to setup a PHP file on the website. And you pass it a username/password like this:

    http://www.mysite.com/login.php?user...sword=PASSWORD

    Then the PHP page looks up that USERNAME and PASSWORD in the database. If it is there, it prints something like "Valid login" on the page, otherwise, "Invalid login".

    This is more secure than just having a list of valid logins in public view on a webpage.

    This is also pretty easy to setup. Does your server support PHP and MySQL?

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