Hi,
I use this code in Windows (wamp), it works fine. When i use it in Ubuntu it generates this error "Warning: Cannot modify header information - headers already sent by (output started at /var/www/toycar/header.php:9) in /var/www/toycar/classes/class.basket.php on line 17"
There is no blank space anywhere. What do i do?
Thanks
<?php
require_once("classes/class.session.php");
$sess=new SBase();
$values=$sess->getSession();
list($user, $loginlogout)=$values;
if($loginlogout=="Logout"){
echo "hi";
}else{
echo "no";
}
?>