I do a

session_start();
session_register("SESSION");


echo "<li>The counter is now $SESSION[count] ";


straight from the tutorial,
and I get this:

--------------------------------------------------

*Warning*: Cannot send session cookie - headers already sent by (output started at /var/www/html/Deb/phpsession.php:5) in */var/www/html/Deb/phpsession.php* on line *6*

*Warning*: Cannot send session cache limiter - headers already sent (output started at /var/www/html/Deb/phpsession.php:5) in */var/www/html/Deb/phpsession.php* on line *6*
# Counter initialized, please reload this page to see it increment
# The counter is now 0
# ------------------------------------------------------
The cookie files ARE being created in /tmp.


What am I doing wrong?






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



Reply via email to