public static function Server::is_post in Anti Spam by CleanTalk 8.4
Same name and namespace in other branches
- 9.1.x src/lib/Cleantalk/Common/Variables/Server.php \Cleantalk\Common\Variables\Server::is_post()
 
* Checks if $_SERVER['REQUEST_URI'] contains string * *
Return value
bool
File
- src/
lib/ Cleantalk/ Common/ Variables/ Server.php, line 94  
Class
- Server
 - Class Server Wrapper to safely get $_SERVER variables
 
Namespace
Cleantalk\Common\VariablesCode
public static function is_post() {
  return self::get('REQUEST_METHOD') === 'POST';
}