Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of prathibhap8  >  Get Domain name  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: user interface
Class: Get Domain name
Extract the base domain from an URL
Author: By
Last change:
Date: 2009-06-02 23:54
Size: 206 bytes
 

Contents

Class file image Download
<?php
include("Classdomain.php");
$myurl "http://www.phpclasses.org/browse/package/3534.html";
$mydom = new getDomain;
$domainname $mydom -> url($myurl);
print(
"Domain name is : ".$domainname);
?>