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,955 All time: 1,262 This week: 673Up
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: 45
All time rank: 4423 in Bulgaria Bulgaria
Week rank: 321 Up2 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  
 0%
Total:2,955
This week:0
All time:1,262
This week:673Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1858