View Single Post
  #6  
Old 07-15-2004, 05:37 AM
 
jeremye jeremye is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Philadelphia, PA
Posts: 158
 

Default

Just as a follow up, I found that the safe way to do this is to leave globals.php alone and at the top of languages.php, it should be:

Code:
define('USE_TRUSTED_POST_VARIABLES',1); $trusted_post_variables = array("var_value", "new_var_value"); require "../smarty.php"; require "../config.php"; require "./auth.php";

This authorizes var_value and new_var_value as trusted post variables and will not strip the HTML tags.
__________________
Jeremy
X-Cart Gold v3.4.14 [Linux/Apache]
Heavily Modded
Reply With Quote