AntonBotes
asked on
GETting or POSTing a form
How do I determine whether I am GETting from a form (i.e. first time called) or being POSTed from a form(the user caused a submit)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
PHP up to version 4.3.0 the arrays name was $HTTP_SERVER_VARS ... the rest is the same.
if you looking for some field name, let's say 'submit' you may check which of $_GET['submit'] or $_POST['submit'] is defined