<? session_start(); if (isset($_SESSION['id'])){ header("Location:http://sait.ru/id".$_SESSION['id']); } else { print <<< END
Here is the HTML page code
END;
} ?> Mistake
Warning : Cannot modify header information - (output started at /home/live-inves/live-invest.ru/docs/index.php:1) in /home/live-inves/live-invest.ru/ docs / index.php on line 4
AND
Warning : session_start () [ function.session-start ]: Cannot send session cache limiter - headers already sent (output started at /home/sait/sait.ru/docs/index.php:1) in / home / sait / sait .ru / docs / index.php on line 2