Login   Register  
PHP Classes
elePHPant
Icontem

wURI: Parse an URL and extract its parts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 317 All time: 6,490 This week: 1,534Up
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
Name: Till Wehowski <contact>
Classes: 8 packages by
Country: Germany Germany
Age: 36
All time rank: 1634107 in Germany Germany
Week rank: 485 Up20 in Germany Germany Up

  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:317All time:6,490
 This week:0This week:1,534Up
 User Comments (1)