I know there is a way to determine which method was used to fetch a page/script. I just don't seem to be able to find any examples. Anyone know a simple and reliable way?
What I am looking for is something like:
if $QUERY_STRING {
// method = GET
do something;
} else {
// method = POST
do something else;
}
Please pardon my syntax; I have posted to the Newbie section for a reason 😉