public void Onclick()
    {
        string passwordHass = PasswordHasherAndSalt.PasswordHasher(Test.text);

        Succes = PasswordHasherAndSalt.PasswordCompare(passwordHass, Test.text);
        //DBInteraction.SendDataLogin("Reeee", passwordHass, "itu_accounts");
        //Test.text = passwordHass;
        string[] Sending = { "657920", "" };

        //StartCoroutine(PHPInteraction.RetrieveAction("check_account", Sending));
        Debugging(PHPInteraction.SendAndRetrieveAction("check_account", Sending).ToString());
    }
Exemple #2
0
    public void LoginCheck()
    {
        string[] Data = { LoginName, Wachtwoord };

        if (!string.IsNullOrEmpty(PHPInteraction.SendAndRetrieveAction("check_account", Data)))
        {
            Succes = true;
        }
        else
        {
            // meldingen fout WW
        }
    }
Exemple #3
0
    public void SendInfo()
    {
        if (Wachtwoord == CheckWW)
        {
            string Hashed = PasswordHasherAndSalt.PasswordHasher(Wachtwoord);

            string[] Data = { InlogName, Wachtwoord };

            PHPInteraction.SendAndRetrieveAction("insert_account", Data);
            // terug sturen naar inlog menu
        }
        else
        {
            //Melden in meldingen
        }
    }