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,949 This week: 1All time: 1,255 This week: 210Up
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: 42
All time rank: 4383 in Bulgaria Bulgaria
Week rank: 195 Up1 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,949
This week:1
All time:1,255
This week:210Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1782
  

For more information send a message to info at phpclasses dot org.