Possible Duplicate:
How to remove parts in a URL?
I want to know how to remove first two parts of a URL in php?
I have a url called – http://localhost/photo/user-content/uploads/wall/o/74/ruveena.jpg
It means i want to remove – http://localhost/photo/
and I want make this URL to
user-content/uploads/wall/o/74/ruveena.jpg
I searched evrywhere but there only how to remove query part or host n those stuff i want to remove just only the first two parts of this url.
1 Answer