PHP Classes

Mrasnika's URL validator: Validate and parse HTTP or FTP URLs

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 2,952 All time: 1,261 This week: 423Up
Version License Categories
mrasnika_urlvldtr 1.0GNU Lesser Genera...Text processing, Validation
Description Author

This class is meant to validates HTTP and FTP URLs. It can also parse the URLs and extract their component parts:

- Protocol
- User and password
- Domains and sub-domain
- TLD (top level domain)
- Port
- Path
- Query

Composite parts:

- Domain_name (domain + tld)
- Host (sub_domain(s) + domain + tld)
- Sub-domains array
- Path array

Picture of Kaloyan Kirilov
Name: Kaloyan Kirilov <contact>
Classes: 4 packages by
Country: Bulgaria Bulgaria
Age: 44
All time rank: 4423 in Bulgaria Bulgaria
Week rank: 544 Down2 in Bulgaria Bulgaria Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example An example
Plain text file url-validation.class.php Class The class itself

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,261
This week:423Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.