PHP Classes

wURI: Parse an URL and extract its parts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-26 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 327 This week: 1All time: 6,669 This week: 1,146Up
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: 12 packages by
Country: Germany Germany
Age: 37
All time rank: 147896 in Germany Germany
Week rank: 351 Up6 in Germany Germany Up
Innovation award
Innovation award
Nominee: 4x

  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  
 0%1Total:327All time:6,669
 This week:1This week:1,146Up
 User Comments (1)  
Error at line: $xw = new emptyObject(); Cause emptyObject not...
2 years ago (Maykonn Welington Candido)