Pagina donde se crea la sesion:
Código PHP:
<?php
$count = 0;
foreach($_FILES['file']['error'] as $status) {
if($status === UPLOAD_ERR_OK) {
$count++;
}
}
if(isset($_SESSION['upload_true'])) {
$_SESSION['upload_true'] = $_SESSION['upload_true'] + $count;
} else {
$_SESSION['upload_true'] = $count;
}
?>
Código PHP:
if($_GET['index'] == "images") {
if(isset($_SESSION['upload_true'])) {
unset($_SESSION['upload_true']);
}
}
Saludos y gracias de antemano