Следите за новинками
в нашем Telegram канале. Жми, чтобы подписаться:)
⊗ppPmHpRM 396 of 447 menu
◀ ▶

HTTP Request Method in PHP

In PHP, you can determine the HTTP method used to make the request. To do this, you need to read the following value:

<?php $method = $_SERVER['REQUEST_METHOD']; var_dump($method); // 'GET' or 'POST' ?>

Create a page to which you will send a request either using the GET method or the POST method.

Make sure your page determines which method the request was sent with and displays information about it.

← →
↑
English▼
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline