MyBB Community Forums

Full Version: Modifying Search Query and URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I would like to have the ability to go to the following URL and it would generate a search results page on my forum:

http://www.example.com/search.php?q=my+search

Is there any way how this can work? Thanks a lot!
I wouldn't recommend that. It's asking for SQL injection. Doing it should be easy, making it secure won't be. At least that's my opinion =/ There are always ways around addslashes.
decswxaqz Wrote:I wouldn't recommend that. It's asking for SQL injection. Doing it should be easy, making it secure won't be. At least that's my opinion =/ There are always ways around addslashes.
Hmm...I never thought about the security concerns of it. I was thinking that if there was some kind of feature like this, more programs could be incorparated with the search function of MyBB sites.

Thanks for the reply!