I need to know how to detect which request used in a PHP code. Can someone please explain?
use $_SERVER['REQUEST_METHOD']
$_SERVER['REQUEST_METHOD']
Please refer PHP manual documentation for more information.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
use
$_SERVER['REQUEST_METHOD']
Please refer PHP manual documentation for more information.