fejl med - session_start
hej alle har et broblem med [ session_start(); ]-------------------------------------------
<?php
session_start();
if(!session_is_registered(myusername)){
header("localhost:main_login.php");
}
?>
<html>
<body>
<center><h1>TILLYKKE du er nu logget ind! </h1></center>
</body>
</html>
----------------------------------------------------------
den kommer med denne bedsked.
----------------------------------------------------------
// Check if session is not registered , redirect back to main page. // Put this code in first line of web page.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\vilmand\login_success.php:3) in C:\xampp\htdocs\vilmand\login_success.php on line 4
Login Successful
----------------------------------------------------------
prøv selv
http://64.251.15.233/vilmand/main_login.php
username : john
password : 1234
er der nogle der kan hjælpe mig?