(Solved) need php script to remove the slash from the end of the url
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1030661/php-removing-a-forward-slash-from-the-tail-end-of-an-url">PHP - Removing a forward-slash from the tail-end of an URL</a>  </p>
</blockquote>



<p>Hi,</p>

<p>i have a url that looks like example.com/
<br>
i would need to remove the slash from the end and i was thinking at using the substract function. if this might work, please let me know how to do it.</p>

<p>if there's another way other than substract function, that would be good as well.</p>

<p>i'd appreciate your input on this.</p>
