I have implemented OpenSearch
on a website, but the idea is to receive the resulting parameter and then use it to forward to another service. Something like:
I'm trying to print all $_GET
and $_POST
variables, and "q" is nowhere to be seen.
How can I test if {searchTerms}
exists?
mywebsite/search&q={searchTerms}
the url should be
mywebsite/search?q={searchTerms}
or you are not sending valid query parameters then q should be accessible in $_GET['q']