Re: POST Referral
| From: | Matt | Date: | Wed, 28 Feb 2001 14:54:37 +0000 |
| Subject: | Re: POST Referral | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42005@lists.php.net to get a copy of this message | ||
getenv('REQUEST_METHOD');
.matt
----- Original Message -----
From: "Boget, Chris" <Chris.Boget@wild.net>
To: "Php (E-mail)" <php-general@lists.php.net>
Sent: Wednesday, February 28, 2001 2:49 PM
Subject: [PHP] POST Referral
> 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
>