[PHP-DB] why is it so?

2004-12-30 Thread Nayyar Ahmed
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



RE: [PHP-DB] why is it so?

2004-12-30 Thread R. Van Tassel
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:[EMAIL PROTECTED] 
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

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



RE: [PHP-DB] why is it so?

2004-12-30 Thread Bastien Koert
in this page somwhere, or perhaps in an include, there is a blank space or 
some html echoed out to the page

bastien
From: Nayyar Ahmed [EMAIL PROTECTED]
Reply-To: Nayyar Ahmed [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] why is it so?
Date: Thu, 30 Dec 2004 20:56:21 +0500
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


FW: [PHP-DB] why is it so?

2004-12-30 Thread Darryl
Make sure that you are sending the session_start() function before you send
anything else to the web browser, it must be the first thing done as with
setting cookies

-Original Message-
From: Nayyar Ahmed [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 30, 2004 5:56 PM
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

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