Get Website Lowest price!

Wordpress Experts!

×

php up to date

Custom robots header tags settings in blogger

Custom robots header tags settings in blogger

It is very easy to handle these settings, you just need to follow these steps:
  • Login to blogger.com
  • Select your required blog from the list
  • Click on the Settings button and select Search preferences from the list.
  • Click on the Edit link next to the Custom Robots Header Tags section.
  • Select Yes to enable this option.
  • And follow the image below to solve this multiple choice options.


  

If you have any queries leave here feedback i will touch you soon

Check IP Under spam listed or not using php

Check IP Under spam listed or not using php

 

$host = "156.200.53.65";

$rbl  = 'sbl-xbl.spamhaus.org';
// valid query format is: 156.200.53.65.sbl-xbl.spamhaus.org
$rev = array_reverse(explode('.', $host));

$lookup = implode('.', $rev) . '.' . $rbl;

if ($lookup != gethostbyname($lookup)) {
   ?>
   <span style="color:red;"><?php echo "IP: $host is listed in $rbl\n"; ?></span>
<?php    echo "<br/>";
} else {
    echo "IP: $host NOT listed in $rbl\n";
    echo "<br/>";

 Just pass your ip address and find whether it comes unders spam list or not using spamhaus. If you need to fine bulk ip just post ip in the loop and get bulk result.

Find whois domain

Find whois domain 

 

<?
require("whoisClass.php");
$whois=new Whois;
$domain=$_POST['domain'];
?>

<form class="form-inline" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
                    <button type="submit" class="btn btn-primary rounded">Find</button>
                    <div class="form-group">
                        <input type="text" name="domain" class="form-control rounded" id="exampleInputEmail2" placeholder="Domain Name">
                    </div>
                </form>
<?php if(isset($domain)){echo nl2br($whois->whoislookup($domain));} ?>
Here nl2br   Inserts HTML line breaks before all newlines in a string.