Posted by Zvonko on 12/06/05 13:42
Hi!
This is my code:
<?php
session_start();
session_register("korisnik", "sid");
$korisnik = $username;
$sid = session_id();
?>
wherever I put this code on my page i get the following errors:
Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at /xy/unos_reg.php:3) in /xy/unos_reg.php on line 4
Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at /xy/unos_reg.php:3) in /xy/unos_reg.php
on line 4
What am I doing wrong?
Navigation:
[Reply to this message]
|