Re: removing $HTTP_POST_VARS
| From: | Jon Rosenberg | Date: | Wed, 28 Mar 2001 14:24:09 +0000 |
| Subject: | Re: removing $HTTP_POST_VARS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45907@lists.php.net to get a copy of this message | ||
You could just check the referrer, as pseudo-code below shows.
if refferer is not valid{
exit;
}
else{
do my stuff;
}
----- Original Message -----
From: "Matt Williams" <matt@yewlands.com>
To: "PHP General List" <php-general@lists.php.net>
Sent: Wednesday, March 28, 2001 9:20 AM
Subject: [PHP] removing $HTTP_POST_VARS
> Hi
>
> Is there a way I can remove all the values of $HTTP_POST_VARS?
>
> I'm trying to check where a form has been posted from and if it's not the
> right plac I want to remove all the post vars so they can't any damage.
>
> I've tried unset($HTTP_POST_VARS) but it doesn't seem to do anything.
>
> TIA
>
> M@
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>