PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Peace Ngara   Unique Values from URLs   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Unique Values from URLs
Get unique of domains from a list of URLs
Author: By
Last change:
Date: 6 years ago
Size: 311 bytes
 

Contents

Class file image Download
<?php
//Inlcude tghe Parser
include_once "Parser.php";

   
$urls = array(
   
'http://www.google.com',
   
'https://www.google.com',
   
'https://www.google.com/',
   
'https://www.facebook.com',
   
'http://www.facebook.com'
   
);
   
//Instantiate
   
$parse = new Parser();
   
$parse->arrayValuesUrlParser($urls);
   
?>