Search
 
SCRIPT & CODE EXAMPLE
 

PHP

check if post request php

Better use $_SERVER['REQUEST_METHOD']:

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    // …
}
Comment

if post php

if($_SERVER['REQUEST_METHOD'] == 'POST') {}
Comment

PREVIOUS NEXT
Code Example
Php :: refresh database tables yii 1 
Php :: add tag tpo protfolio? 
Php :: codeigniter round off function 
Php :: doiffernce between text and string in laravel migration 
Php :: php iife 
Php :: enfold remove debugging info for theme support 
Php :: live search in ajax 
Php :: letzten 3 zeichen aus einem string entfernen php 
Php :: wc php get order get coupon discount amount 
Php :: php script 
Php :: php validate email 
Php :: codeigniter base url automatic 
Php :: apache/2.4.52 (win64) openssl/1.1.1m php/8.1.2 server at localhost port 80 
Php :: how to get the ip address of the client in php 
Php :: wordpress font awesome enque 
Php :: how to unhash password_hash in php 
Php :: how to create php message 1 
Php :: recorrer un array php 
Php :: export txt php 
Php :: install latest php on feren os 
Java :: printing hello world in java 
Java :: left fold java 
Java :: select a random element from a list java 
Java :: install java 11 from centos 7 
Java :: android cardview dependency 
Java :: java how to get current date 
Java :: spigot spawn entity 
Java :: max long 
Java :: java get creation date of file 
Java :: java string to long 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =