Fw: [PHP] script to script
| From: | Kevin Stone | Date: | Wed, 08 May 2002 17:48:13 +0000 |
| Subject: | Fw: [PHP] script to script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96612@lists.php.net to get a copy of this message | ||
The variable $HTTP_REFERER stores the last URL visited by the browser. It
is set by the browser its self so contents may vary. But you can hardcode
the URL into your script then perform a soft comparison between the two. If
there are too many differences then you simply deny the request. Hope this
helps.
-Kevin
----- Original Message -----
From: "Jas" <jlgerfen@hotmail.com>
To: <php-general@lists.php.net>
Sent: Wednesday, May 08, 2002 11:38 AM
Subject: [PHP] script to script
> I have a form that links from a form on an html page then to a confirm
page,
> I have error validation on each page however on the final page I would
like
> to have it verify where the data is coming from... i.e. I would like to
make
> sure it is coming from the confirm page on the same server. If anyone has
> an idea of how to accomplish this that would be great. Thanks in advance,
> jas
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>