Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\telefondefteri\duzenle .php:1) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\telefondefteri\duzenle .php on line 2
Bu hata mesajı ne demek:S anlamadım.
<?php
session_start();
if($_SESSION["girdi"] != true){
header("Location:gir.php");
die();
}
include_once('baglan.php');
$id = (int) $_GET["id"];
$sorgu = mysql_query("select * from defteri where id=$id");
$veri = mysql_fetch_assoc($sorgu);
?>
...........
Kod bu şekilde
Acil yardım
4
●449
- 06-02-2010, 15:59:38
<?php session_start(); if($_SESSION["girdi"] != true){ header("Location:gir.php"); die(); } session_register(); include_once('baglan.php'); $id = (int) $_GET["id"]; $sorgu = mysql_query("select * from defteri where id=$id"); $veri = mysql_fetch_assoc($sorgu); ?>
denemedim ama budur tahminen.
denemedim ama budur tahminen.