On the XAMPP everything working fine.
Today i uploaded my website on hosting (000webho....)
When I try log-in i got like this:
Cannot modify header information - headers already sent by (output started at /storage/ssd3/390/15429390/public_html/zaloguj.php:10) in /storage/ssd3/390/15429390/public_html/zaloguj.php on line 79
Line 10 in zaloguj.php: else if ( ($_SESSION['zalogowany']==true) && ($_SESSION['stanowisko']=="xyz"))
Line 79 in zaloguj.php: header('Location: index.php');
What's wrong?
            Asked
            
        
        
            Active
            
        
            Viewed 45 times
        
    -1
            
            
         
    
    
        Roberh
        
- 19
- 4
