POST Referral
| From: | Boget, Chris | Date: | Wed, 28 Feb 2001 14:49:08 +0000 |
| Subject: | POST Referral | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42004@lists.php.net to get a copy of this message | ||
Is it possible, in PHP, for a page to determine if it
was accessed via a form's submission (POST/GET)?
IOW, if you click on a link to get to a page, you can
find out (usually; I know it's not 100%) what page
the user was at before when s/he clicked the link by
accessing the $HTTP_REFERER variable. Is there
any way to do the same type of check but determine
if it was due to the submission of a form (instead of
by a link as $HTTP_REFERER would suggest)?
Thanks!
Chris