TransWar File Browser

Path: C:\

<?php
session_start();
date_default_timezone_set('America/Sao_Paulo');
$final    = date("d/m/Y"); 
$base1 		= date("d-m-Y"); 
$inicio   = date('d/m/Y', strtotime($base1. ' - 1 month'));
if (isset($_POST['grupo'])){$grupo=$_POST['grupo'];}else{$grupo="nulo";}
if (isset($_POST['dsgru'])){$ds_grupo=$_POST['dsgru'];}else{$ds_grupo="TODOS";}
if (isset($_POST['fornecedor'])){$empresa=$_POST['fornecedor'];}else{$empresa='nulo';}
if ($grupo==''){$grupo='nulo';}
if ($empresa==''){$empresa='nulo';}

$_SESSION['acesso0'] 	= '1';
$_SESSION['acesso1'] 	= '1';
$_SESSION['acesso2'] 	= '1';
$_SESSION['acesso3'] 	= '1';
$_SESSION['acesso4'] 	= '1';
$_SESSION['acesso5'] 	= '1';
$_SESSION['acesso6'] 	= '1';
$_SESSION['acesso7'] 	= '1';
$_SESSION['acesso8'] 	= '1';
$_SESSION['custo1'] 	= '1';
$_SESSION['custo2'] 	= '1';
$_SESSION['custo3'] 	= '1';
$_SESSION['grupo']		= $grupo;
$_SESSION['dsgru']		= $ds_grupo;
$_SESSION['empresa']	= $empresa;
$_SESSION['inicio'] 	= $inicio;
$_SESSION['final'] 		= $final;
header("Location: main.php");
?>