PHP Classes

Unique Values from URLs: Get unique of domains from a list of URLs

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 110 All time: 9,631 This week: 140Up
Version License PHP version Categories
unique-values-from-u 1.0Freely Distributable5Networking, PHP 5


This class can get unique of domains from a list of URLs.

It takes a list of URLs and parse them to extract the host.

The class returns an array with the list of domains contained in the URLs.

Picture of Peace Ngara
Name: Peace Ngara <contact>
Classes: 1 package by
Country: South Africa South Africa
Age: ???
All time rank: 438126 in South Africa South Africa
Week rank: 286 Up3 in South Africa South Africa Up


//Inlcude tghe Parser
include_once "Parser.php";

$urls = array(
$parse = new Parser();



Get Unique Values from URL's, a URL Parse that will remove dumplicates from URL's

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Example script
Plain text file Parser.php Class Class source
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,631
This week:140Up