PHP: CleanURL

I wrote some quick and dirty PHP to resolve a disk or html path and resolve and relative paths. So if you have a URL with a lot of ../ in it, or some ./, or even // this will resolve those into a cleaner more usable path.

CleanURL: Code & Output


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.137.169.14
To prevent spam please submit by clicking the kitten: