I have some code:
session_start();session_register("username","password");
$session = session_id();
Everytime I log in correctly this code is initialized and my logged in message is displayed. However I also get an error message:
Warning: Cannot send session cookie - headers already sent by (output started at C:\apache\htdocs\tmpl8\examples\login.php:3) in C:\apache\htdocs\tmpl8\examples\login.php on line 6
Warning: Cannot send session cache limiter - headers already sent (output started at C:\apache\htdocs\tmpl8\examples\login.php:3) in C:\apache\htdocs\tmpl8\examples\login.php on line 6
LINE 6 IS MY CODE ABOVE.
Is the problem to do with my PHP.INI file? If so can someone give me a reliable article for installation of APACHE 2.0.35, PHP 4.1.2 and MySQL 3.23.49.