PHP Classes

guaranix URL: Compare URLs and compute relative URIs

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
Not enough user ratingsTotal: 311 All time: 7,309 This week: 673Up
Version License PHP version Categories
gurl 1.0Public Domain3HTTP


This class can be used to compare URLs and compute relative URIs.

It determines if two URLs are from the same site. If so, it returns the URI of the second relative to the first. Otherwise it returns the second absolute URL.

Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 36
All time rank: 71 in Paraguay Paraguay
Week rank: 33 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Files folder image Files  
File Role Description
Plain text file gUrl.php Class The main class
Accessible without login Plain text file gUrl.test.php Example Example of how to use

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,309
This week:673Up