Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    C++ login screen


    Acrio12
     Share

    Recommended Posts

    Hi, I want to make a login screen. I´m going to save the usernames and passwords in a mysql database. But I dont know how to Check the username and password because I dont know how to conect mysql in c++. Please help me and sorry for my english.

    Link to comment
    Share on other sites

    since you dont wanna save any mysql passwords or stuff like that in your .exe or project the best way would be to use php.

    Link to comment
    Share on other sites

    • 1 month later...

    Ok. But how can I initialize php in c++?

     

    setup some webserver and code a php file, that takes 2 arguments like: checkpassword.php?username=xxx&password=xXXx

    the php file should give a result 0 or 1 and you can get the result in your c++ program by fetching a webpage into a buffer and check the strings. You can do the request with wininet library or winsock library.

    • Upvote 1
    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...