Posted by Lukas Pataki on 12/22/06 10:46
Hi,
>
> I now get this error message.
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started at
> F:\webserver\2006_11_November\myprofile\includes\global.php:5) in
> F:\webserver\2006_11_November\myprofile\includes\auth.php on line 6
>
you cant do an echo or something with an output before you create a session
The Correct way.
<?php
session_start();
echo "now it should work fine";
?>
>
[Back to original message]
|