Skip to content

sg-iitg/FULL-WORKING-SQL-PHPMYADMIN-ANDROID-XAMPP

 
 

Repository files navigation

FULL-WORKING-SQL-PHPMYADMIN-ANDROID-XAMPP

Setup

Steps for WINDOWS ON XAMPP

  • Git clone this Repository

  • Copy android_login folder to XAMPP=>htdocs WAMP=>www

  • Create database android_login =>

    create table users( id int(11) primary key auto_increment, unique_id varchar(23) not null unique, name varchar(50) not null, email varchar(100) not null unique, encrypted_password varchar(250) not null, otp int(6) NOT NULL, verified int(1) NOT NULL DEFAULT '0', created_at datetime DEFAULT NULL );
    
  • Change Config.php file for username and password $username = "root"; $password = "pass"; $host = "localhost"; $dbname = "android_login";

  • Change Main Url inside Functions.Java File

  • If you are using localhost:[PORT] change Mainurl to MAIN_URL = "http://10.0.2.2:[PORT]/android_login/"

  • If you are using just localhost change Mainurl to MAIN_URL = "http://10.0.2.2/android_login/"

Steps for WEBHOSTING

  • Git clone this Repository

  • Copy android_login folder to cpanel=>www

  • Create database android_login =>

    create table users( id int(11) primary key auto_increment, unique_id varchar(23) not null unique, name varchar(50) not null, email varchar(100) not null unique, encrypted_password varchar(250) not null, otp int(6) NOT NULL, verified int(1) NOT NULL DEFAULT '0', created_at datetime DEFAULT NULL );
    
  • Change Config.php file for username and password $username = "username"; $password = "pass"; $host = "localhost"; $dbname = "username_android_login"; //Check at phpmyadmin whats the name of database

  • Change Main Url inside Functions.Java File // HTTP[S] not HTTP TRY BOTH

  • Change Mainurl to MAIN_URL = "https://hostname.example.com/username_android_login/" example "https://cpanel.example.com/username_android_login/"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 81.3%
  • PHP 18.7%