Home › Forums › Back End › PHP – Remove anything after the last / › Re: PHP – Remove anything after the last /
September 14, 2011 at 6:02 am
#87151
chrisburton
Participant
@KarimCossutti – are you just trying to get the directory?
Example:
http://www.domain.ext/subf/page.html’;
would then become:
http://www.domain.ext/subf/
??