This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class RegisterOrLoginActivity extends AppCompatActivity { | |
| Toolbar public_toolbar; | |
| Button btn_send_mobile; | |
| EditText etxt_number_mobile; | |
| String dataresult = ""; | |
| public KProgressHUD hud; | |
| String firebase_token=""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include "../db.php"; | |
| //$_POST['command'] ;// | |
| $command = $_POST['command']; | |
| if ($command == "register_user") {//register user | |
| $mobile = $_POST['mobile']; | |
| $token = $_POST['token']; |