PHP Classes

wURI: Parse an URL and extract its parts

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 25%Total: 334 All time: 7,095 This week: 190Up
Version License PHP version Categories
wuri 2.0.2Public Domain4HTTP, Text processing
Description Author

This class can parse an URL and extract its parts.

It can take a given URL split into protocol, host name and URI and it creates an object that contains variables with the values of the URL parts.

Currently it contains variables for the protocol, complete URL location, server host name, complete URI part, parent directories of the URL path, file name extension, as well the result of the parse_url function.

By default the class parses the current request URL.

Picture of Till Wehowski
  Performance   Level  
Name: Till Wehowski <contact>
Classes: 29 packages by
Country: Germany Germany
Age: 44
All time rank: 108769 in Germany Germany
Week rank: 17 Up2 in Germany Germany Up
Innovation award
Innovation award
Nominee: 11x

  Files folder image Files  
File Role Description
Accessible without login Plain text file cl.parse.url.php Class Main class

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:7,095
This week:190Up
User Ratings User Comments (1)
 All time
Error at line: $xw = new emptyObject(); Cause emptyObject not...
9 years ago (Maykonn Welington Candido)