• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
seegatesite header

Seegatesite.com

Seegatesite.com - Programming Tutorial , Sharing , How and Learn Together

  • TOOLS
    • Bootstrap Navbar Online Generator
    • Customize Sidebar Menu Bootstrap 3
    • Bootstrap Demo
  • ADVERTISE
  • CATEGORIES
    • Android
    • Blogging Tips
    • Database
    • CSS
    • Info Gadget
    • Javascript
    • Linux
    • PHP
    • Various
    • WordPress
  • Q&A
  • PHP
  • JAVASCRIPT
  • JQUERY
  • ANGULAR
  • WORDPRESS
  • SEO
  • REACT
🏠 » PHP » Script to Check Alexa Rank on Flippa

Script to Check Alexa Rank on Flippa

By Sigit Prasetya Nugroho ∙ October 27, 2014 ∙ PHP ∙ Leave a Comment

Share : TwitterFacebookTelegramWhatsapp

Continuing my previous article ” Alexa Rank Checker Script with PHP “, In this article will combine the script, to check alexa rank from Flippa domain list.

Script to Check Alexa Rank on Flippa

For those who like to hunt domain on Flippa website, this script is useful to make it easier check alexa rank. The basic logic used to check the domain list on Flippa is scrap list domain and then check Alexa rank massively.

Here we go,

Related Articles :

  • Alexa Rank Checker Script with PHP

Download simple_html_dom parser to grab element from website, click here to download simple html dom.

1. Create script to scrap domain list from flippa, create php file as flippa-checker.php

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
include "simple_html_dom.php";
echo ' <form method="post">
<table>
<tr><td>URL </td><td> : <input type="text" name="url" size="60" /></td></tr>
<tr><td>Page </td><td> : <input type="text" name="page" size="10" /></td></tr>
<tr><td colspan=2><input type="submit" value="Submit" name="submit" /></td></tr>';
echo '</table></form>';
if (isset($_POST['submit']))
{
$url=$_POST['url'];
$cnt=$_POST['page'];
for($x=1;$x<=$cnt;$x++)
{
$urlz=$url.'&page='.$x;
$html = file_get_html($url);
foreach($html->find('div[class=largetitle]') as $element)
{
   foreach($element->find('a') as $jack)
{
   echo $jack->plaintext . '<br>';
}
}
}
}
 
?>

1. Go to flippa.com, and check the domain you’re looking for

how to check alexa rank on flippa

2. Please customized the domain options you’re looking for

Check domain alexa rank on flippa

3. Copy flippa url from browser and paste into your scriptgrab flippa list domain

4. Click enter.

You will get a list of domain Flippa, Add the following script to check alexa rank on Flippa list domain.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function get_rank($domain){
$url = "http://data.alexa.com/data?cli=10&dat=snbamz&url=".$domain;
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,2);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
$xml = new SimpleXMLElement($data);
if($popularity = @$xml->xpath("//POPULARITY"))
{
$rank = number_format((string)$popularity[0]['TEXT']);
}else
{
$rank = 'N/A';
}
return $rank;
}

Change syntax

1
  echo $jack->plaintext . '<br>';

with

1
   echo $jack->plaintext.' -- >'.get_rank((string)trim($jack->plaintext)) . '<br>';

Done!, the tools will be display like below

tools for check alexa rank from flippa domain list

You can combine that alexa rank script with pagerank script  🙂

Another PHP Related Post :

  • How To Replace String With Another String In PHP
  • Login Page – Tutorial CRUD Client and API Server Using JQuery And Lumen Part 2
  • Tutorial CRUD Client and API Server Using JQuery And Lumen Part 1
  • How To Solve Problems Illegal mix of collations (latin1_swedish_ci,IMPLICIT) In Laravel
  • How To Resolve No ‘Access-Control-Allow-Origin’ Header In Lumen
  • How To Create Custom Class In Laravel 5.5 For Beginners

Avatar for Sigit Prasetya Nugroho

About Sigit Prasetya Nugroho

This site is a personal Blog of Sigit Prasetya Nugroho, a Desktop developer and freelance web developer working in PHP, MySQL, WordPress.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Welcome to my Home,

Avatar for Sigit Prasetya NugrohoThis site is a personal Blog of Sigit Prasetya Nugroho, a Desktop developer and freelance web developer working in PHP, MySQL, WordPress.



Popular Articles

Checked checkbox AdminLTE Bootstrap in Jquery

November 4, 2014 By Sigit Prasetya Nugroho 7 Comments

Simple create date format validation with jqueryUI

December 21, 2014 By Sigit Prasetya Nugroho Leave a Comment

Create Simple Progress Bar for Fake Online Generator with Jquery

January 10, 2015 By Sigit Prasetya Nugroho Leave a Comment

22+ Coolest Free Jquery Plugin For Premium Theme

October 3, 2015 By Sigit Prasetya Nugroho Leave a Comment

Easy Build Your Anti Copy Paste Plugin

October 6, 2015 By Sigit Prasetya Nugroho Leave a Comment

Popular Tags

adminlte (15) adsense (13) adsense tips (4) affiliate amazon (13) amazon (12) Android (8) angular (16) angular 4 (12) angular 5 (4) asin grabber (3) Bootstrap (27) codeigniter (5) create wordpress theme (5) crud (8) css (6) free wordpress theme (7) google adsense (4) imacros (4) increase traffic (6) jquery (34) laravel (10) laravel 5 (5) learn android (5) modal dialog (5) mysql (6) nodeJs (4) optimize seo (4) pdo (6) php (30) plugin (53) pos (7) Publisher Tips (5) react (3) Reactjs (7) SEO (37) theme (17) tutorial angular (5) tutorial angular 4 (6) tutorial javascript (10) tutorial javascript beginners (4) twitter (3) widget (3) wordpress (18) wordpress plugin (13) XMLRPC (5)




  • About
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions

©2021 Seegatesite.com