Search
 
SCRIPT & CODE EXAMPLE
 

PHP

if request type is post

$_SERVER['REQUEST_METHOD']
// e.g 
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
     // The request is using the POST method
}
Comment

PREVIOUS NEXT
Code Example
Php :: insertion sort in php 
Php :: delete and return response and nocontent laravel 
Php :: php find if string contains words from list index 
Php :: php artisan tinker encription cmd 
Php :: laravel start que listener 
Php :: update php version wamp windows 
Php :: php str replace 
Php :: Encrypt in PHP openssl and decrypt in javascript CryptoJS 
Php :: how to give optional parameter in route 
Php :: phpunit test private function 
Php :: unset php return array 
Php :: .htaccess Prevent access to php.ini 
Php :: php last item of array 
Php :: laravel trans with parameters 
Php :: how to check the day of any date in php 
Php :: login form using php pdo 
Php :: Notice: Array to string conversion php 
Php :: session() in lumen 
Php :: add object in array php 
Php :: laravel blade fontawesome 
Php :: Invalid argument supplied for foreach() in C 
Php :: export mysql data to word in php 
Php :: laravel model uploaded file name 
Php :: laravel module package 
Php :: php function to remove 0 value from array 
Php :: like %% inside the string php 
Php :: set_magic_quotes_runtime php 7 
Php :: laravel collection collapse 
Php :: select2 on modal 
Php :: php key_exists 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =