An idea...
| From: | Gerard Samuel | Date: | Tue, 15 Jan 2002 00:21:14 +0000 |
| Subject: | An idea... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80506@lists.php.net to get a copy of this message | ||
Just want to bounce this idea off you guys/gals.
Im looking to improve the security of my scripts. Now lets say, I initialise the script with a constant in the main config file that all the pages access. Then when Im accepting data from a form or maybe even a link I could do
if (isset($HTTP_POST_VARS['foo']) && defined("CONSTANT")) {
process data
}
Just an idea, what do you think..
Thanks