Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 498 This week: 2All time: 5,277 This week: 874Up
Version License PHP version Categories  
url-tool 1.0GNU General Public Lice...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: 25
All time rank: 13403 in Saudi Arabia Saudi Arabia
Week rank: 315 Up2 in Saudi Arabia Saudi Arabia Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • 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:498All time:5,277
 This week:2This week:874Up