Log in | Register | Lost password

Bottom
urlencode/decode of + and - signs
  • Posted: 02.04.2007, 15:33
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi, I am using + and - signs in Pagesetter filters (a hack with the MySQL "match" function, e.g.: "text:match:+dolphines -sharks"). As these signs seem to disturb the filtering (when using this string in URLs) I have tried some ways around, one of them being to use the Url encode sign %2B for +. Now filtering works but I face a problem when reading the Url variable back into the Search form via "$smarty.requeset.variable". This renders the search text but converts the %2B into a space sign (which actually would be %20 in url code). Any suggestions what to do?

Template courtesy of Designs By Darren.