Thanks so much it worked fine
now i designed a new page named ust.php but i am taking this error when i run this ust.php
<?
session_start();
$admin = $_SESSION['valid_user'];
if (!empty($admin))
{
echo "<center><a href=\"members.php\">[Ekle]</a> : <a href=\"display.php\">[Liste]</a></center> <br>";
}
else
{
echo "<center>You dont have to permission to see this page</center> <br>";
}
?>
the error is this
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\SylAcc\members.php:9) in C:\Program Files\Apache Group\Apache2\htdocs\Acc\ust.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\Acc\members.php:9) in C:\Program Files\Apache Group\Apache2\htdocs\Acc\ust.php on line 2
but when i delete the session start(); part the php is not working?
I couldnt find where is the problem?