Stripping last /tag from URL

Discussion in 'PHP' started by mendna, Apr 20, 2011.

  1. #1
    Hi,

    Hopefully someone can help me with this.

    I got a dynamic URL with the structure:

    www.mysite.com/aaa/bbb

    and I need to strip /bbb (which is dynamic) from the URL.

    Basically, it's stripping the last /<tag> from the url.

    Appreciate any help or input!

    Thanks!
     
    mendna, Apr 20, 2011 IP
  2. mendna

    mendna Guest

    Messages:
    443
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Solved. Thanks
     
    mendna, Apr 20, 2011 IP