RE: why is it so?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



session_start() needs to be the first piece of code at the top of the page,
you must have something else before it.

<?php
	session_start()
	// all php code follows
?>




-----Original Message-----
From: Nayyar Ahmed [mailto:nayyares@xxxxxxxxx] 
Sent: Thursday, December 30, 2004 10:56 AM
To: php-db@xxxxxxxxxxxxx
Subject:  why is it so?

Hello All,
I am unable to understand when I execute etc.php, 
it give me the error
"Warning: session_start(): Cannot send session cache limiter - headers
already sent ....."

can you solve this leral ?

TIA

-- 
Nayyar Ahmad

Lecturer
Faculty Of Computer Science,
Institute Of Management Sciences,
Hayat Abad Peshawar , Pakistan.
Office : 92-091-9217404 , 9217452
Cell     :  92-0333-9139461

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux