- Error
Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\login\includes\widgets\numar_utilizatori.php:4) in C:\xampp\htdocs\login\succes.php on line 9
Code: Select all
<?php
if (isset($_GET['ipc']) && isset($_GET['ipc']) && isset($_GET['pret']) && is_numeric($_GET['u_id']) && is_numeric($_GET['u_id']))
{
if (!isset($_SESSION["accesari"]))
$_SESSION['accesari'] = 0;
$_SESSION['accesari'] = $_SESSION['accesari'] + 1;
if ($_SESSION['accesari'] > 1) {
header('Location: cumparare.php');
exit();
} else {
.
.
.
?>
Code: Select all
<div class="widget">
<h2>Utilizatori</h2>
<div class="inner">
Momentan sunt <?php echo numar_utilizatori(); ?> utilizatori inregistrati
</div>
</div>