RE: [PHP-DB] why is it so?
| From: | R. Van Tassel | Date: | Thu, 30 Dec 2004 16:15:09 +0000 |
| Subject: | RE: [PHP-DB] why is it so? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37925@lists.php.net to get a copy of this message | ||
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