Skip to content

Commit

Permalink
add webyield.net domain/ip service
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Dec 31, 2015
1 parent 34daa7b commit 8ac5684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions class-get-public-ip.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function __construct( $domain ) {
$custom_args = apply_filters('ubp_ip_args', array() );

if ( $custom_url ) $ip = $this->get_ip( $custom_url, $custom_args );
if ( !$ip ) $ip = $this->get_ip( 'http://www.webyield.net/ip/index.php', array( 'method' => 'POST', 'referer'=>'http://www.webyield.net/ip/index.php', 'body' => 'submit=Locate&ip='.$domain ) );
if ( !$ip ) $ip = $this->get_ip( 'http://hostnametoip.com/', array( 'index'=>1, 'method' => 'POST', 'referer'=>'http://hostnametoip.com/', 'body' => 'conversion=1&addr='.$domain ) );
if ( !$ip ) $ip = $this->get_ip( "http://aruljohn.com/cgi-bin/hostname2ip.pl?host=$domain", array( 'referer'=>'http://aruljohn.com/hostname2ip.html' ) );

Expand Down

0 comments on commit 8ac5684

Please sign in to comment.