jagguy Posted November 6, 2006 Share Posted November 6, 2006 With sessions, I am getting errors when I include this at start of html file (it is parsed with php on apache and works fine otherwise) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><?php session_start(); ?>I get an error as well when swapping the lines around.Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at... Link to comment https://forums.phpfreaks.com/topic/26284-sessions/ Share on other sites More sharing options...
alpine Posted November 6, 2006 Share Posted November 6, 2006 Same error as mentioned in one of the sticky threads!<?php session_start(); ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><? MUST begin on line 1 and absolute left, no output what so ever to the browser before session start Link to comment https://forums.phpfreaks.com/topic/26284-sessions/#findComment-120202 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.