title: Splist Url string after character using php
body: <p>I have the url from <code>$_SERVER['REQUEST_URI']</code> as <code>/a/b/c/d/e</code></p>
  
  <p>I want to get the string <code>/a/b/c</code> via php. Is there a way to use the split function and split after `/d'?</p>