[php]<?php
<?
session_start();
ob_start();
$_SESSION["login"] = $login;
$_SESSION["haslo"] = $haslo;
$_SESSION["zalogowany"] = 1;
?>
<html>
<head>
<meta name="generator" content="WebSite PRO 4.3" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<title>Zalogowano!</title>
</head>
<body>
<center><br>Logowanie zakończone!</center>
</body>
</html>
?>[/php]
pokazuje się:
Kod: Zaznacz cały
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home.15/b/r/o/brocik/www/plikaj/gfx/ustawienia.php:8) in /home.15/b/r/o/brocik/www/plikaj/logowanie/set.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home.15/b/r/o/brocik/www/plikaj/gfx/ustawienia.php:8) in /home.15/b/r/o/brocik/www/plikaj/logowanie/set.php on line 2
Logowanie zakończone!
