Login Page With Ajax and PHP Example

In this step we create login page create doLogin() method is javascript on click on button submit using ajax call login.php file, Here pass two parameter user_id and password and get the value in login.php. login.php file get parameter value $user_id=$_POST[‘user_id’]; and password value $password=$_POST[‘password’]; Create index.html page write following code   <!DOCTYPE…

Create Beautiful Design Home Screen Using CardView android

A FrameLayout with a rounded corner background and shadow. CardView uses elevation property on Lollipop for shadows and falls back to a custom emulated shadow implementation on older platforms. CardView extends the FrameLayout and it is supported way back to Android 2.x. In this article i am create layout design…

Remove .php and .html extension from URL using .htaccess

To remove .php and .html extension from URL. In This article i am show you how to remove. First create .htacess file and write below code RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html Save file…

Android Detect Whether is an internet connection is available or not

Android Detect whether is internet connection status is easy to check. In this tutorial i will show you. Using broadcast receiver automatically detect connection status. It is most useful for check internet connection availability to communicate app over the network. Demo Video Here are step to create  Create NetworkUtil.java file In…

Calculate Distance between two latitude and longitude without google API

This code is used for calculate distance between two latitude and longitude using PHP. Without any google API calculate distance. Pass source latitude longitude and destination latitude and longitude. Easy to implement. Not required any Google API. You can also get result on meter and Kilometer and  Nautical Miles. Pass latitude…