keithg

bootstrap model – Disable click event outside

add in click button : data-backdrop=”static”  data-keyboard=”false” Like <button type=”button” data-backdrop=”static”  data-keyboard=”false” class=”btn btn-info btn-lg” data-toggle=”modal” data-target=”#myModal”>Open Modal</button>    Read more …
keithg

curl request without postfields

example: $ip=$_SERVER[‘REMOTE_ADDR’]; // Here is the data we will be sending to the service $url_to_check = “http://ipinfo.io/$ip/json”; # Set up cURL $ch = curl_init($url_to_check); # Set up options for cURL # We want to get the value back from our query curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); # Send in our user agent...Read more …