For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > December 2004 > RE: [PHP-DB] why is it so?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] why is it so?
R. Van Tassel

2004-12-30, 3:56 pm

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@gmail.com]
Sent: Thursday, December 30, 2004 10:56 AM
To: php-db@lists.php.net
Subject: [PHP-DB] 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com