note 78724 rejected from function.session-start by james
| From: | james@php.net | Date: | Wed, 24 Oct 2007 21:30:28 +0000 |
| Subject: | note 78724 rejected from function.session-start by james | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-131708@lists.php.net to get a copy of this message | ||
Note Submitter: wassupady at gmail dot com
----
Hello. i have a problem :
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers
already sent (output started at /home/ximagro/public_html/news/add.php:5) in
/home/ximagro/public_html/news/add.php on line 6
and the problem that the add.php start like this:
<?
if (!$_POST){print_form();die();}
?>
<?php
session_start();
....
does anyone have any ideas pls?