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..

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