"; echo ""; $link1 = $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI]; $linkd1 = $_SERVER[REQUEST_URI]; $linkd2 = $_SERVER[HTTP_HOST]; $request_uri ="".$linkd1.""; $request_uri_array = explode('/', $request_uri); unset($request_uri_array[1]); $fixed_uri = implode('/', $request_uri_array); $ca = "".substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2).""; $escaped_link = htmlspecialchars($link1); function file_get_contents_curl1($url1) {$var1 = $_SERVER['HTTP_ACCEPT_LANGUAGE']; $ch = curl_init(); $headers = [ "Accept-Language: $var1", 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36' ]; $cookie = 'cookie.txt'; $ch = curl_init($url1); curl_setopt($ch, CURLOPT_MAXREDIRS, 5); curl_setopt($ch, CURLOPT_URL, $url1); curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_SSLVERSION, 1); curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'TLSv1'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); # optional curl_setopt($ch, CURLOPT_TIMEOUT, 2); # optional: -1 = unlimited, 3600 = 1 hour curl_setopt($ch, CURLOPT_VERBOSE, false); # Set to true to see all the innards # Only if you need to bypass SSL certificate validation curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_ENCODING, 'gzip,deflate'); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $data = curl_exec($ch); curl_close($ch); return $data; } $urlkty = "".substr($request_uri,1).""; $expRegulary = '/([a-z]+:\/\/+[a-z-.]+?\/)/i'; $shorty = preg_replace($expRegular, '', $urlkty); $curlkt = curl_init($urlkty); curl_setopt($curlkt, CURLOPT_NOBODY, true); $resultkt = curl_exec($curlkt); if ($resultkt !== false) { $statusCodekt = curl_getinfo($curlkt, CURLINFO_HTTP_CODE); if ($statusCodekt == 404) { $youtubered =str_replace("".$link1."", "https://tags.buscary.com".$linkd1."", $link1); $putared =str_replace("https://tags.buscary.com/https://".getHost($urlkty)."", "https://".getHost($urlkty)."", $youtubered); ?> Buscary Search
Buscary Search Crawler Backlink
"; echo ""; }else { $youtubered =str_replace("".$link1."", "https://".getHost($urlkty)."".$shorty."", $link1); $putared =str_replace("https://tags.buscary.com/https://".getHost($urlkty)."", "https://".getHost($urlkty)."", $youtubered); //echo $urlred; //echo"siis"; ?> "; echo ""; } } else { $youtubered =str_replace("".$link1."", "https://tags.buscary.com".$linkd1."", $link1); $putared =str_replace("https://tags.buscary.com/https://".getHost($urlkty)."", "https://".getHost($urlkty)."", $youtubered); //echo $urlred; ?> "; echo ""; //echo"nois"; } $urlred=$putared; //echo "".$urlkty.""; //echo "".$urlred.""; //echo "".getHost($fixed_uri)."".$shorty.""; $messagered = file_get_contents_curl1($urlred); $uri = $urlred; $htmln = file_get_contents_curl1($urlred); //parsing begins here: $doc = new DOMDocument(); $doc->loadHTML($htmln); $nodes = $doc->getElementsByTagName('title'); //get and display what you need: $title = $nodes->item(0)->nodeValue; $metas = $doc->getElementsByTagName('meta'); for ($i = 0; $i < $metas->length; $i++) { $meta = $metas->item($i); if($meta->getAttribute('name') == 'description') $description = $meta->getAttribute('content'); if($meta->getAttribute('name') == 'keywords') $keywords = $meta->getAttribute('content'); } echo "Tags of: $title". ''; echo ""; echo ""; $srtingt = $messagered; //declaring a string using Heredoc method $html_string = $srtingt; function clearHTML($html_string){ $html_string = strip_tags($html_string); $html_string = preg_replace("~(?: |\h)+~u", " ", $html_string); $html_string = preg_replace('~\h*(\R)\s*~u', '$1', $html_string); return trim($html_string); } $html_string = preg_replace('##s', '', $html_string); $html_string = preg_replace('##s', '', $html_string); $html_string = preg_replace('#.*?#s', '', $html_string); $html_string = preg_replace('##s', '', $html_string); $html_string = preg_replace('##s', '', $html_string); $html_string =str_replace(">", ">", $html_string); $html_string =str_replace("<", "<", $html_string); $html_string = preg_replace("/[\r\n|\n|\r]+/", " ", $html_string); $html_string =str_replace(""", '"', $html_string); $html_string = trim(preg_replace('/\s+/', ' ', $html_string)); //$html_string = preg_replace("/<([a-z][a-z0-9]*)[^>]*?(/?)>/i",'<$1$2>', $html_string); $html_string = clearHTML(preg_replace('/\s+/', ' ', $html_string)); $removed_str=strip_tags(substr($html_string, 0, 20)); $listo= htmlentities(html_entity_decode($html_string, ENT_NOQUOTES | ENT_IGNORE, "UTF-8")); $naipe = substr($listo, 0, 5000); $texto_cambiadot = str_replace(" ", ",", $naipe); $texto_cambiadot= implode(" ",array_unique(explode(" ", $texto_cambiadot))); //echo seo_friendly_url($texto_cambiadot); $valor_array = explode(',',$texto_cambiadot); //$valor_array = explode(',"',$dato); echo "
"; echo "
    "; foreach($valor_array as $llave => $valores) { $messagered =str_replace("", "
  • ".$valores."
  • ", $messagered); } echo "
"; echo ""; $messagered =str_replace("

/','',$messagered); $messagered = preg_replace('//','',$messagered); $messagered = preg_replace('//','',$messagered); $messagered =str_replace("go.buscary.com/https://".getHost($urlkty)."/https://buscary.com", "buscary.com", $messagered); $messagered =str_replace("go.buscary.com/https://".getHost($urlkty)."/https://".getHost($urlkty)."", "go.buscary.com/https://".getHost($urlkty)."", $messagered); $messagered = preg_replace('//','',$messagered); $messagered = preg_replace('//','',$messagered); $messagered = preg_replace('//',' "; ?>
Buscary Search Crawler Backlink

"; echo "
"; } elseif($link1 == "https://tags.buscary.com".$linkd1.""){ echo " "; ?>
Buscary Search Crawler Backlink

"; echo "
    "; foreach($valor_array as $llave => $valores) { echo "
  • ".$valores."
  • "; } echo ""; echo "
"; } elseif($link1 == "tags.buscary.com".$linkd1.""){ echo " "; ?>
Buscary Search Crawler Backlink

"; echo "
    "; foreach($valor_array as $llave => $valores) { echo "
  • ".$valores."
  • "; } echo ""; echo "
"; } elseif($link1 == "www.tags.buscary.com/sitemap.xml"){ } elseif($link1 == "https://tags.buscary.com/sitemap.xml"){ } elseif($link1 == "tags.buscary.com/sitemap.xml"){ } elseif($link1 == "www.tags.buscary.com/robots.txt"){ } elseif($link1 == "https://tags.buscary.com/robots.txt"){ } elseif($link1 == "tags.buscary.com/robots.txt"){ } else{ ?>
Buscary Search Crawler Backlink
set_charset("utf8"); if ($conexion->connect_error) { die("Erro en la Conexič´¸n a la Base de Datos: " . $conexion->connect_error); } $sql = "SELECT * FROM sites ORDER BY id DESC limit 500"; $resultados = $conexion->query($sql); echo '
'; echo'
LAST 500 URL
    '; if (isset($_GET['searchurl'])) { $pageno = $_GET['searchurl']; } else { $pageno = 1; } $no_of_records_per_page = 500; $offset = ($pageno-1) * $no_of_records_per_page; $conn=mysqli_connect("localhost","buscaryc_root","N4tur4l.","buscaryc_root"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); die(); } $total_pages_sql = "SELECT COUNT(*) FROM sites"; $result = mysqli_query($conn,$total_pages_sql); $total_rows = mysqli_fetch_array($result)[0]; $total_pages = ceil($total_rows / $no_of_records_per_page); $sql = "SELECT * FROM sites ORDER BY id DESC LIMIT $offset, $no_of_records_per_page"; $res_data = mysqli_query($conn,$sql); ?>
    LAST URL ". htmlspecialchars(htmlentities($row["url"])). "
    "; } mysqli_close($conn); echo'
';?>
query($sql1); echo'
LAST 500 TEXT
    '; if (isset($_GET['searchtext'])) { $pageno1 = $_GET['searchtext']; } else { $pageno1 = 1; } $no_of_records_per_page1 = 500; $offset1 = ($pageno1-1) * $no_of_records_per_page1; $conn1=mysqli_connect("localhost","buscaryc_root","N4tur4l.","buscaryc_root"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); die(); } $total_pages_sql1 = "SELECT COUNT(*) FROM sites"; $result1 = mysqli_query($conn1,$total_pages_sql1); $total_rows1 = mysqli_fetch_array($result1)[0]; $total_pages1 = ceil($total_rows1 / $no_of_records_per_page1); $sql1 = "SELECT * FROM sites ORDER BY id DESC LIMIT $offset1, $no_of_records_per_page1"; $res_data1 = mysqli_query($conn1,$sql1); ?>
    LAST TEXT ". htmlspecialchars(htmlentities($row1["title"])). "
    "; } mysqli_close($conn); echo'
'; echo'
Last Tags
'; echo'
'; ?>