Re: removing $HTTP_POST_VARS
| From: | Renze Munnik | Date: | Wed, 28 Mar 2001 14:28:58 +0000 |
| Subject: | Re: removing $HTTP_POST_VARS | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45908@lists.php.net to get a copy of this message | ||
The referer isn't always defined though... not even if it would be a
valid one. Some browsers just don't want to cooperate...
RenzE
Jon Rosenberg wrote:
>
> 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
> >
>
> --
> 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