Quote:
Originally Posted by Zachery
shouldn't addcslashes be addslashes
|
thnx ... i try it
PHP Code:
if ($_REQUEST['do'] == 'points')
{
$navbits = construct_navbits(array(
'' => 'points'
));
require_once(DIR . '/includes/functions_misc.php');
eval('$pointspages = replace_template_variables("' . addslashes($vbulletin->options[pointspages], '"') . '");');
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('points_pages') . '");');
}
show to me erorr
PHP Code:
Warning: Wrong parameter count for addslashes() in [path]\misc.php(100) : eval()'d code on line 12
--------------- Added [DATE]1370328837[/DATE] at [TIME]1370328837[/TIME] ---------------
sorry i update it by one Parameter
do not show me erorr but data also don't show
PHP Code:
eval('$pointspages = replace_template_variables("' . addslashes($vbulletin->options[pointspages]) . '");');
--------------- Added [DATE]1370330612[/DATE] at [TIME]1370330612[/TIME] ---------------