title: PHP - Remove the Specific Segment from URL
body: <p>I have showing the ad banners in <code>.../openx/banner.php</code></p>
  
  <p>Each Banner I had set the Banner Link.</p>
  
  <p>After clicking the Banners the Page is redirected with the following URL.</p>
  
  <pre><code>.../openx/www/delivery/ck.php?oaparams=2__bannerid=1__zoneid=1__cb=5b97a864fe__oadest=http%3A%2F%2Fwww.google.com
  </code></pre>
  
  <p>Here is the root URL : <code>openx/</code></p>
  
  <p>I want to remove the last segment that is <code>oadest=http%3A%2F%2Fwww.google.com</code> when the page is loaded.</p>
  
  <p>Please anyone help me...</p>
  
  <p>Thanks...</p>