knowing how the user got to a page
Posted: Tue Oct 05, 2004 12:05 am
Hello
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?
regards
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?
regards