PHP Classes

URL Tool: Parse and check the existence of a given URL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-08-07 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 511 All time: 5,299 This week: 1,557Up
Version License PHP version Categories  
url-tool 1.0GNU General Publi...5.0HTTP, PHP 5, Validation
Description Author  

This class can parse and check the existence of a given URL.

It can parse and given URL and if valid extract its components like: the protocol scheme, authentication user, host name, host IP address version, connection port, path, query arguments and fragment.

In the case of HTTP URLs, the class can also check if a URL exists by sending an HTTP HEAD.

Picture of Hossam Suliman
Name: Hossam Suliman <contact>
Classes: 5 packages by
Country: Saudi Arabia Saudi Arabia
Age: 26
All time rank: 13043 in Saudi Arabia Saudi Arabia
Week rank: 1023 Up4 in Saudi Arabia Saudi Arabia Down
Innovation award
Innovation award
Nominee: 1x

  • url
  • ipv6
  • idn
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of class usage
Plain text file url.tool.class.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:511All time:5,299
 This week:0This week:1,557Up