Answer the question
In order to leave comments, you need to log in
How to make redirect form action="/test/" on test.php?
Good day.
Please tell me how to implement the following functionality.
There is html code
<form action="/test/" class="test">
<input class="inputs" type="text" placeholder="поиск" name="testword" method="$_GET">
</form>
Answer the question
In order to leave comments, you need to log in
<form action="test.php" method="get" class="test">
<input type="text" class="inputs" placeholder="поиск" name="testword" />
</form>
I read this post, but it didn't work.
There is an entry in the log:
File does not exist: .../www/test, referer
: testsite.ru
RewriteRule ^/test/ /test.php?%{QUERY_STRING} [L] doesn't work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question