Home › Forums › Back End › PHP – Remove anything after the last / › Re: PHP – Remove anything after the last /
September 14, 2011 at 6:17 am
#87152
KarimCossutti
Member
yeah
but it must work also with multiple sub folders
Eg:
http://www.domain.ext/subf/something.php
http://www.domain.ext/subf/
http://www.domain.ext/subf/ssubf/something.php
http://www.domain.ext/subf/ssubf/