Friday, July 14, 2017

Login & registration system using PHP, MySQL & Retrofit 2 library

I am going to create user login & registration system. I'll use PHP in backend & MySQL database. JSON response will be handled using retrofit 2 library. Let's start. First, lets create a database. First, create a database. I have named it as "jnklogreg". Then create a table with 4 column -...
continue reading Login & registration system using PHP, MySQL & Retrofit 2 library

Monday, July 10, 2017

Upload image to local server using retrofit

First, create a folder "uploads" in the desire directory. Our uploaded photos will be stored in this folder. Let's finish server side coding first. Create a file uploadImage.php . Here is the content of the uploadImage.php file : $folder = "uploads/"; $path = $_FILES['uploadimage']['name']; // $extension...
continue reading Upload image to local server using retrofit