note 29941 rejected from faq.using by rioter

From: Date: Sat, 01 Mar 2003 22:21:22 +0000
Subject: note 29941 rejected from faq.using by rioter
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44709@lists.php.net to get a copy of this message
What happen with my code!!? I writed this code ... line1 session_start(); line2 If(!session_is_registered("count")) { line3 $count = 0; line4 session_register("count"); line5 } when I run this code,I found error... Warning: Cannot send session cookie - headers already sent by (output started at /home/myusername/myhome-www/product.php:4) on line 1 Warning: Cannot send session cache limiter - headers already sent (output started at /home/myusername/myhome-www/product.php:4) on line 1 when I cut out line1 code,I found same error but happen with line4 code is error.... I want to know meaning of those error....It's mean?

« previous php.notes (#44709) next »