I have this code that my question is on.
if ($_FILES["file"]["error"] > 0){
$_SESSION['NOFILE'] = true;
header( 'Location: http://www.website.com/files/.index.php');
}
//Should I be using the absolute path like I have here. or should I use
if ($_FILES["file"]["error"] > 0){
$_SESSION['NOFILE'] = true;
header( 'Location: /files/.index.php');
}
I have this question because Im newer to PHP. I would like to thank you all in advanced - kim :) P.S. new to SOF to so i couldnt format my code.