<?php
session_start();
unset($_SESSION['logged']);
//logged to zmienna sesyjna istniejąca tylko wtedy gdy użytkownik jest zalogowany
header('Location: index.php');
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: session_start(): Cannot send session cookie - headers already sent in /in/vVeuV on line 3
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/vVeuV:3) in /in/vVeuV on line 3
Output for 4.3.0 - 4.3.1
Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cookie - headers already sent in /in/vVeuV on line 3
Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cache limiter - headers already sent (output started at /in/vVeuV:3) in /in/vVeuV on line 3