Here is the code
<?php error_reporting(E_ALL); ini_set('display_errors','On'); ini_set('session.use_cookies', 'On'); ini_set('session.use_trans_sid', 'Off'); session_set_cookie_params(604800000, "/", ".site.ru", false, false); session_start(); define('SID',session_id()); if (!isset($_SESSION["uid"])){ echo "Хакирование запрещено!"; exit; } include('../conf.php'); $uid = intval($_SESSION["uid"]); header ("Location: ../profile.php"); exit; ?>
But the error
Cannot modify header information - headers already sent by (output started at ...general.php:16) in ...general.php on line 15
Resave without BOM, both the file itself and the config, there are no extra spaces or intero