I want code use.sso.ticket in HABBO RETROS

Results 1 to 3 of 3
  1. #1
    Apprentice Murray is offline
    MemberRank
    Sep 2012 Join Date
    5Posts

    I want code use.sso.ticket in HABBO RETROS

    Hi guys, I am a boy who is developing a CMS for RETROS, I made a login and register using PHP connecting width the folder "database", I want to make a auto-login (using sso.ticket), but I don't know how to code, sorry for my bad english, I am from Spain.

    Greetings.


  2. #2
    Proficient Member JNike Rulez is offline
    MemberRank
    Sep 2010 Join Date
    GermanyLocation
    183Posts

    Re: I want code use.sso.ticket in HABBO RETROS

    That's a way, but not the best:

    mysql_query("UPDATE users SET auth_ticket = '".rand(0, 9999).'-'.rand(0,9999).' WHERE id = '".$USER["id"]."'");
    $mQuery = mysql_result(mysql_query("SELECT auth_ticket FROM users WHERE id = '".$USER["id"]."'"), 0);

    echo $mQuery;

    try it so.

    Into the variables of the client put it somewhere at sso.ticket or anything else: <?php echo $mQuery; ?>

  3. #3
    Apprentice Murray is offline
    MemberRank
    Sep 2012 Join Date
    5Posts

    Re: I want code use.sso.ticket in HABBO RETROS

    Its a retroserver, not a holo xD I don't use MySQL databases, databases are folders(the original habbo had folders).



Advertisement