repositories
/
Project_webapp.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Properly separate the HTTP GET requests from the POST requests
[Project_webapp.git]
/
lib
/
utils.php
Commit
Line
Data
6405835a
JB
1
<?php
2
function isPostRequest() {
3
if (filter_input(INPUT_SERVER, 'REQUEST_METHOD') === 'POST') {
4
return true;
5
} else {
6
return false;
7
}
8
}
9
?>