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" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to