----- Original Message -----
From: "Van Andel, Robbert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 4:00 PM
Subject: [PHP] Session Variables and Posting


> Is there a way that I can prevent session variables getting values from
> query strings.  I want them to receive values only from posted forms.
>
>
> Robbert van Andel


You should be accessing the $_GET, $_POST and $_SESSION arrays directly
rather than relying on request vars to be parsed automatically.  This will
allow you to be much more discriminatory in your code.

Read up on Predefined Variables in the manual..
http://www.php.net/manual/en/reserved.variables.php

HTH,
Kevin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to