- Thunderbolt 2? I don’t even own the first Thunderbolt.
- Posted on June 11, 2013 | Comments After getting a Macbook Pro Retina with two Thunderbolt peripherals, I was waiting for a great deal or a reason to get a Thunderbolt device.
Posted on October 1, 2019 by Michael Rosario | Comments
<?php
$url = "https://www.URL.com";
$data = "";
if(preg_match( '/^(http|https):\\/\\/[a-z0-9_]+([\\-\\.]{1}[a-z_0-9]+)*\\.[_a-z]{2,5}'.'((:[0-9]{1,5})?\\/.*)?$/i' ,$url)){
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
$data = curl_exec($curl);
curl_close($curl);
}
echo "<div>".$data."</div>";
?>