3 Replies Latest reply on Mar 28, 2008 9:16 AM by Oğuz Demirkapı

    How to strip #CGI.HTTP_REFERER# after the ? params?

    Scooby_Doobie_Doo
      I am trying to store the #CGI.HTTP_REFERER# address into my database, which works, BUT, I don't want any characters after and including the ? in my url

      for example, if I have
      http://www.scooby.com/index.cfm?popo=yes&ID=22

      I only want to store http://www.scooby.com/index.cfm

      How can I strip that stuff after the ? before storing it?