<!–Add in Header / where login –> <button class=”facebook” id=”facebook”><i class=”fa fa-facebook” aria-hidden=”true”></i>Sign in with Facebook</button> <!– Add in Header / where login –> ## …
Read MoreGet contents using curl
$my_location_ip =’95.212.128.0′; //syria $my_location_ip =’27.49.37.170′; $url = “http://ipinfo.io/{$my_location_ip}/json”; ##Get a web file (HTML, XHTML, XML, image, etc.) from a URL. Return an ##array containing the …
Read MoreGet Location details using IP address
<?php $my_location_ip =’95.212.128.0′; $url = “http://ipinfo.io/{$my_location_ip}/json“; //======== Using Curl //Function : Starts ======= ##Get a web file (HTML, XHTML, XML, image, etc.) from a URL. …
Read MoreGoogle map using api call
## GOOGLE MAPS <div id=”googleMap” style=”width:100%;height:400px;”></div> <script> function myMap() { var mapProp= { center:new google.maps.LatLng(), zoom:5, }; console.log(mapProp); var map=new google.maps.Map(document.getElementById(“googleMap”),mapProp); } </script> <script src=”https://maps.googleapis.com/maps/api/js?key=AIzaSyC7wZjgMOL3iVAScAzoMhRHzdju7T8wceQ&callback=myMap“></script>
Read MoreFacebook share using iframe in php
FACEBOOK SHARE USING IFRAME ## USING I-FRAME:: <iframe src=”https://www.facebook.com/plugins/share_button.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&layout=button_count&size=small&mobile_iframe=true&appId=928713417263830&width=88&height=20” width=”88″ height=”20″ style=”border:none;overflow:hidden” scrolling=”no” frameborder=”0″ allowTransparency=”true”></iframe>
Read MoreFacebook share in php
FACEBOOK SHARE ## Share Page in Facebook. https://developers.facebook.com/docs/plugins/share-button ## Step 1: Choose your App ID and Language ## Step 2: Include the JavaScript SDK on …
Read MoreFacebook share
## FACEBOOK SHARE https://developers.facebook.com/docs/plugins/share-button <html> <head> <title>Your Website Title</title> <!– You can use Open Graph tags to customize link previews. …
Read MoreFacebook share using third party
## Share page in social site. Just add the block where you want it will work as you want. It show all social Link <!– …
Read MoreCalling a swal function in php
#calling the swal function:: <script> function notify() { swal({ title: “Are you sure?”, text: “Login Required.You will redirect for login.”, type: “warning”, …
Read MoreGoogle maps in php
## GOOGLE MAPS <div id=”googleMap” style=”width:100%;height:400px;”></div> <script> function myMap() { var mapProp= { center:new google.maps.LatLng(), zoom:5, }; console.log(mapProp); var map=new google.maps.Map(document.getElementById(“googleMap”),mapProp); } </script> <script src=”https://maps.googleapis.com/maps/api/js?key=AIzaSyC7wZjgMOL3iVAScAzoMhRHzdju7T8wceQ&callback=myMap”></script>
Read More