Is there a way to use GET and POST together?

后端 未结 4 1476
时光取名叫无心
时光取名叫无心 2021-01-02 07:59

I need to pass some data with these 2 methods together ( GET AND POST ). I write this method, but I don\'t know if it is safe:

4条回答
  •  时光取名叫无心
    2021-01-02 08:21

    you can use both and get with REQUEST instead of GET or POST, with the same name of params it will get the "request-order" order GET and then POST by default.

    http://php.net/request-order

    it is in php.ini

提交回复
热议问题