How to check whether a request is GET or POST in PHP?

To determine whether the request arrive via GET or POST method use the following code.

PHP Code:

    // .... Code for GET Request
    // .... Code for POST Request


Popular posts from this blog

About 12 Alwars

Post thumbnails from external URLs don’t appear in Blogger. How to resolve?