Shrinking url in PHP
I'm trying to show this url ' http://www.xyz.com/catnew/newcat.php' as 'http://www.xyz.com/cat'. Any help is appreciated.
Shrinking url in PHP
===

I'm trying to show this url ' http://www.xyz.com/catnew/newcat.php' as 'http://www.xyz.com/cat'. Any help is appreciated.