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 days ago) RSS 2.0 feedNot enough user ratingsTotal: 310 This week: 7All time: 6,456 This week: 210Up
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: 7 packages by
Country: Germany Germany
Age: 35
All time rank: 1670108 in Germany Germany
Week rank: 238 Up11 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:310All time:6,456
 This week:7This week:210Up
 User Comments (1)  
 
Error at line: $xw = new emptyObject(); Cause emptyObject not...
9 months ago (Maykonn Welington Candido)
2%Star