User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 26

Thread: MySQL & PHP Login/Register System

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MySQL & PHP Login/Register System

    Hello again, I have created a simple login/register system using PHP and MySQL. It is located at http://pokemonol.net/main.php I now want to allow users to login to the game (once they have registered by using my PHP system) with the actual game client. I need help as I don't know how to get MMF to gain access to the MySQL database (where all the user info is stored) and allow users to login, if what they entered matches the MySQL user database. I also want to allow users to have the option of registering through the game client aswell as the website, where all their account info they entered would be sent and stored in the MySQL database. How would I do this? Can anyone help solve this problem? Is there any example files that would do the same thing?

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MySQL & PHP Login/Register System

    Hello again, I have created a simple login/register system using PHP and MySQL. It is located at http://pokemonol.net/main.php I now want to allow users to login to the game (once they have registered by using my PHP system) with the actual game client. I need help as I don't know how to get MMF to gain access to the MySQL database (where all the user info is stored) and allow users to login, if what they entered matches the MySQL user database. I also want to allow users to have the option of registering through the game client aswell as the website, where all their account info they entered would be sent and stored in the MySQL database. How would I do this? Can anyone help solve this problem? Is there any example files that would do the same thing?

  3. #3
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I don't have time to cook up an example, but I've done this before...not in a secure way though. I went the simple route and just used MooSock to send the login variables through POST (GET would make it a URL, which is even less secure) and I had a php script on my server that took care of all the checking. From there, I had it display "okay" or "denied" in just text on an empty page which I would then grab with MooSock (since it gets the response after sending the data).

    This may seem complex...maybe someone else has an alternate method or an example...sorry I can't provide more info, too busy >_>.

  4. #4
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I don't have time to cook up an example, but I've done this before...not in a secure way though. I went the simple route and just used MooSock to send the login variables through POST (GET would make it a URL, which is even less secure) and I had a php script on my server that took care of all the checking. From there, I had it display "okay" or "denied" in just text on an empty page which I would then grab with MooSock (since it gets the response after sending the data).

    This may seem complex...maybe someone else has an alternate method or an example...sorry I can't provide more info, too busy >_>.

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    Glad you managed to make the register/login system quite quickly!

    I wouldn't know the best way to communicate with the database from an MMF app, but I'm very interested to find out. I hope there is a better way than sending and retrieving data from PHP pages.

  6. #6
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    Glad you managed to make the register/login system quite quickly!

    I wouldn't know the best way to communicate with the database from an MMF app, but I'm very interested to find out. I hope there is a better way than sending and retrieving data from PHP pages.

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    PHP!? PERL! :P
    but why use direct SQL, you will send your SQL login details in plan text over the internet, so anyone can get anyones password

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    PHP!? PERL! :P
    but why use direct SQL, you will send your SQL login details in plan text over the internet, so anyone can get anyones password

  9. #9
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    What alternative methods would you suggest for communicating with an online database?

    Or do you think talking to it via a Server-side language is the best way?

  10. #10
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    What alternative methods would you suggest for communicating with an online database?

    Or do you think talking to it via a Server-side language is the best way?

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Help - Register/Login Application
    By MrXkill in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 6th February 2011, 04:39 AM
  2. MMF2 - Moo ServerSide Register/Login System V.2.0
    By Cocodrilo in forum File Archive
    Replies: 74
    Last Post: 23rd September 2007, 09:09 AM
  3. MMORPG - uddate + ftp + register and login system
    By CLUBE in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 18th March 2007, 04:27 AM

Posting Permissions

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