Re: setting session varibles in a function in an include file.
| From: | (Richard Lynch) | Date: | Fri, 30 Jun 2000 21:09:37 +0000 |
| Subject: | Re: setting session varibles in a function in an include file. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4151@lists.php.net to get a copy of this message | ||
In article <70D677608846D41184E20050DA7AA6600ADE16@144.bzln.com>,
keithv@bzln.com (Keith Vance) wrote:
> I am trying to run session_start, session_register with PHP4 by using a
> function that is in an include function. The script keeps complaining about
> "Warning: Cannot send session cookie - headers already sent by (output
> started at test2.php:259) in test2.php on line 5
>
> Warning: Cannot send session cache limiter - headers already sent by (output
> started at test2.php:259) in test2.php on line 5"
In test2.php, online 5 or 259, there is *SOMETHING* that is sending some
non PHP code to the browser.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)