Redirecting after form submission with user input in the URL

后端 未结 3 936
轮回少年
轮回少年 2021-01-03 17:14

I need to have a form that when filled out will create a variable and then goto a url with that variable in the url.

Something like this (but that works) :)

3条回答
  •  醉梦人生
    2021-01-03 17:40

    Use method="GET" to place the variables in the url:

    Number:

    Posting this form will go to http://somewhere.com/?url=USER_INPUT_URL

提交回复
热议问题