I have a variable like $path = "dir1/dir2/dir1/dir4/"; etc.. etc..
I want to remove the first member dir1/ and want result like dir2/dir1/dir4/.
I think it is possible by making the variable an array by explode('/', $path). How can I remove the first member vrom array and reconstruct that array into a text variable??
How can I achieve this in PHP?