Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

data validation of $_POST in php

<?php
	
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
	
		// the request method is fine

} else {

	exit('Invalid Request');

}
Source by supunkavinda.blog #
 
PREVIOUS NEXT
Tagged: #data #validation #php
ADD COMMENT
Topic
Name
2+2 =