Re: extract($_POST)
| From: | Rick Emery | Date: | Wed, 23 Oct 2002 13:49:00 +0000 |
| Subject: | Re: extract($_POST) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121080@lists.php.net to get a copy of this message | ||
Ed,
Elsewhere, you stated that you will not use cookies, because one-third of your constituency will
have cookies turned off. yet, you will use sessions. Sessions processing depends on cookies being
on.
----- Original Message -----
From: <ed@home.homes2see.com>
To: <php-general@lists.php.net>
Sent: Wednesday, October 23, 2002 5:23 AM
Subject: RE: [PHP] extract($_POST)
I will be using sessions to keep things such as a user id while the end
user is traversing from page to page but I wasn't sure that it would make
sense to also store variable values as well in the session while they are
needed then drop them from the session when they are not. As long as each
process is secure enough to keep one person from getting another person's
values then it should be secure enough to use the extract($_POST) method
as opposed to using the $_POST['var'] method. It just seems that it would
be more effective to get all the values at once instead of writting out
every instance of $_POST['var'] for each individual 'var'.
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php