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:
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