我正在使用使用其他搜索方法的电子商务引擎脚本。HTML表单元素到URL
取而代之的是URL使用GET这样的:
http://search.com/searchc?q=the+query
它采用
http://search.com/searchc/the+query
我怎样才能让一个表单POST或者GET来,因为这种形式,使URL
http://search.com/searchc/?q=the+query
<form action="/searchc/" method="post">
<input type="text" id="q" name="q">
<input type="submit" value="go">
</form>
也试过这个(获得或发布不适用于这两个)
<form action="/searchc/" method="post">
<input type="text" id="" name="">
<input type="submit" value="go">
</form>