PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Assuming I have a PHP page that the user may come to either via GET or via POST, is there a way of knowing in which method a current request was made?
Are the $_GET and $_POST always available?
If so, how can I tell if I should refer to the $_GET or the $_POST array?