Drag and save image like facebook cover

How to add a cover image like facebook or adjust the position of image?

In this tutorial, I am explaining how to add a cover image to a web page like on facebook. Here I am using Laravel framework to create a page where I can upload and adjust the image position like the Facebook cover image. DEMO HTML CSS Jquery PHP HTML Create a div with id=”bgimage”. Inside Read more about How to add a cover image like facebook or adjust the position of image?[…]

scoopism-navbar

how to set bootstrap navbar class active

We all need to give class=”active” in bootstrap navbar for the active menu.The below code will show you to add class active automatically by checking the URL. For a simple php site Here I’m creating a nav.php file to save the menu code and I will include ( @include() ) this file in all other Read more about how to set bootstrap navbar class active[…]

htaccess

How to remove .php or .html extensions with .htaccess

In this post, I would like to explain HOW TO REMOVE .php OR .html EXTENSIONS FROM URL WITH HELP OF .htaccess. Its not user and search engine friendly if .html or .php is in URLs, to make user and search engine friendly we have to remove the .html or .php extensions fron URLs by editing Read more about How to remove .php or .html extensions with .htaccess[…]

google recaptcha

Google reCAPTCHA for our form

We have to use captcha in our form to prevent spam,bot etc. In this example am showing how to use google reCAPTCHA in laravel 5.2. Here i gonna use a package which is available in github anhskohbo/no-captcha Before we start lets see what is CAPTCHA and reCAPTCHA? CAPTCHA (Completely Automated Public Turing Test to tell Read more about Google reCAPTCHA for our form[…]

php

Ewww, You Use PHP?

Lately here at MailChimp we’ve been trying to bring in more developers to help us keep the innovation coming fast and furious as the application grows in scope and scale. It’s always been difficult for us to hire really good developers, just because of where we are. Our office is here in Atlanta GA, not Read more about Ewww, You Use PHP?[…]

php

Get Address from longitude and latitude with PHP and Google map API

In my previous post I explained how to get longitude and latitude from the address given, now in this post i will change few things and we will get address by giving longitude and latitude. In the same way what we did in previous post, we use same Google API and PHP cURL. Here i Read more about Get Address from longitude and latitude with PHP and Google map API[…]

php

Get longitude and latitude from an address with PHP and Google map API

It’s very simple to get longitude and latitude with the help of Google map API NOTE: An API (Application Programming Interface) is a set of methods and tools that can be used for building software applications. View DEMO http://maps .google.com/maps/api/geocode/json?address=Bangalore&sensor=false You have seen “Geocode” in above URL. What is Geocoding? Geocoding is the process of Read more about Get longitude and latitude from an address with PHP and Google map API[…]