Hi,
I have a php file session.php:
<?php
require_once("functions.php");
session_start();
...
?>
I tried to include this in one of my php scripts, but it shows me a warning:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\xampp\htdocs\cjenovnik1\uredi_profil.php:1) in E:\xampp\htdocs\cjenovnik1\includes\session.php on line 4
I read about this on google. They said there must be no whitespaces or any informations
sent to the browser before session_start().
I modified that but it doesnt't work either:
<?php require_once("includes/session.php"); ?>
<?php require_once("includes/connection.php"); ?>
<?php require_once("includes/functions.php"); ?>
<?php confirm_logged_in(); ?>
<!DOCTYPE html>
<html>
<head>
This is part of the code of file uredi_profil.php. In that page I get this warning.
User go to that page by clicking of link "Promijeni podatke" on page adminpanel.php
In page adminpanel.php there is also included session.php (require_once...)