Home / Tips / Programming languages / Scripting languages / PHP / Detecting request type in PHP (GET, POST, PUT or DELETE)

Detecting request type in PHP (GET, POST, PUT or DELETE)

PHP
PHP
  • Currently 0 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)

Thank you for rating!

You have already rated this page, you can only rate it once!

Your rating has been changed, thanks for rating!

Log in or create a user account to rate this page.


$_SERVER variable contains the request method which was used to access the page.

$_SERVER[ 'REQUEST_METHOD' ]


Read also

What is PHP?

What is PHP?

Classes and objects in PHP

Classes and objects in PHP

How to access classes and objects in PHP

How to access classes and objects in PHP

Log in or create a user account to post a comment.

basicuse.net
html5_css
106160485398655174790

Quick navigation

General navigation