Jump to content


Photo
- - - - -

MYSQL and PHP login system


  • Please log in to reply
3 replies to this topic

#1 stoneyftw

stoneyftw

    GMC Member

  • GMC Member
  • 112 posts
  • Version:GM:Studio

Posted 30 April 2012 - 05:37 PM

  • Title: Login System for GameMaker using PHP and MYSQL
  • Description: This tutorial provides a set of easy to use PHP classes that help create a login system for GameMaker.
  • GM Version: :GM81: :GM8:/> :GM7:/> :GM6:/> :GM5:/>
  • Registered: Yes
  • File Type: .zip
  • File Size: 300 kb
  • File Link: http://dl.dropbox.co...hpLogin_tut.zip
  • Required DLLs: None
Summary
This tutorial provides a set of PHP classes that can be used to easily connect to a MYSQL database, create users, log them in, and send all of the data back to GameMaker.

Use
Simply store a username into a gamemaker variable, store the password in a gamemaker variable, and execute the command:
phpFunction("loginController.php?action=tryAuth&username="+gmkUsernameVariable+"&password="+gmkPasswordVariable,0);

Use of the other functions are similar.

Edited by stoneyftw, 13 January 2013 - 04:20 AM.

  • 0
Posted Image

#2 clod14

clod14

    GMC Member

  • GMC Member
  • 427 posts

Posted 31 May 2012 - 06:15 AM

seems like the files are not downloadable.
Links are broken
  • 0

#3 lballaty

lballaty

    GMC Member

  • New Member
  • 83 posts

Posted 31 May 2012 - 11:48 AM

Same here could not download. Looks like something useful though ... would be interesting to try out.
  • 0

#4 stoneyftw

stoneyftw

    GMC Member

  • GMC Member
  • 112 posts
  • Version:GM:Studio

Posted 13 January 2013 - 04:20 AM

I updated the download links. Should be working permanently now.
  • 0
Posted Image