1. Настройки сервера
safe_mode = off( Вот скрипт генерирующий это все :
magic_quotes_gpc = on
register_globals = off
<?php
$quote .= '1. ';
$quote .= (ini_get('safe_mode')) ? 'safe_mode = on' . PHP_EOL : 'safe_mode = off' . PHP_EOL;
$quote .= (ini_get('magic_quotes_gpc')) ? 'magic_quotes_gpc = on' . PHP_EOL : 'magic_quotes_gpc = off' . PHP_EOL;
$quote .= (ini_get('register_globals')) ? 'register_globals = on' . PHP_EOL : 'register_globals = off' . PHP_EOL;
echo $quote . '
';
?>
) 2. Ваш код ( заключенный в бб код [рhp][/рhp] ) ( Например
)<?php
$quote .= '1.';';
$quote .= (ini_get('safe_mode')) ? 'safe_mode = on' . PHP_EOL : 'safe_mode = off' . PHP_EOL;
$quote .= (ini_get('magic_quotes_gpc')) ? 'magic_quotes_gpc = on' . PHP_EOL : 'magic_quotes_gpc = off' . PHP_EOL;
$quote .= (ini_get('register_globals')) ? 'register_globals = on' . PHP_EOL : 'register_globals = off' . PHP_EOL;
echo $quote . '
?>