Unstoppable Domains โ€” Get your daily AI drops report

Simple Backlink Checker (Google)

SpaceshipSpaceship
Watch

PHPRight

Established Member
Impact
0
PHP:
<?php
$domain = "phpright.com"; // Domain to check backlinks

$url = "http://www.google.com/search?q=link%3A".$domain;
$file = file_get_contents($url);
if (!strstr($file,'did not match any documents')) {
 $linksto = strstr($file,"of about <b>");
 $linksto = substr($linksto,strlen("of about <b>"));
 $linksto = str_replace(strstr($linksto,'</b>'),'',$linksto);
 echo $linksto.' backlinks';
}
else
{
 echo 'No backlinks';
}
?>

Thought this might be useful to some who want to make a simple backlink checker or just have a dynamic listing of their site's backlinks on their homepage. Just change the $domain variable and you're on your way.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
old
 

Attachments

  • Picture 6.png
    Picture 6.png
    425.5 KB · Views: 169
Last edited:
0
•••
i think you were supposed to have this line:
PHP:
$domain = "jag.me";
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back