-1

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?

Roberh
  • 19
  • 4

1 Answers1

-1

Add this line in .htaccess:

php_flag output_buffering on
Dharman
  • 30,962
  • 25
  • 85
  • 135
Roberh
  • 19
  • 4