i want to secure the file upload system but it doesn't work anymore if i do a session around.
im using as example $_SESSION['xxx']
if($_SESSION['xxx'] == true)
{
$Config['Enabled'] = true ;
}
else
{
$Config['Enabled'] = false ;
}
the session is set to true because else my cms wont work either.
but if i do this around the enabler i always get the message to put to enabler on.
if i only set de config['enabled'] = true i can upload images.
can someone help me at this question because i don't know anymore.
im using as example $_SESSION['xxx']
if($_SESSION['xxx'] == true)
{
$Config['Enabled'] = true ;
}
else
{
$Config['Enabled'] = false ;
}
the session is set to true because else my cms wont work either.
but if i do this around the enabler i always get the message to put to enabler on.
if i only set de config['enabled'] = true i can upload images.
can someone help me at this question because i don't know anymore.
Re: securing the file upload system
oke people,
you might think i'm stupid and i feel like stupid too.
i forgot the session_start at the first line
so i don't need you're help anymore at this point.
thanks to all of you