Welcome Guest, Not a member yet? Register   Sign In
Search url issue,
#1

[eluser]Arun Joshi[/eluser]
Hello,

I have a search form. Form action is post. When press submit the search results will appear the screen. Consider my search term is a+b .
its searching fine on the form submit. If I there is more results I have to show paging. Then how can I pass the search term to new page.
I tried
Code:
http://mysite.com/search/page/2/srch/a+b


if I pass like this it shows url disallowed characters. I checked the docs, and the solution was change permitted_uri_chars in config. Is there any other way to solve this. I dont like to fill all the charactors in the config file.

Thanks
-Arun
#2

[eluser]pickupman[/eluser]
You can pass the search item to the user's session. Then check for the session variable and pass it to your query.




Theme © iAndrew 2016 - Forum software by © MyBB