if (condition)
{
#lol. Some code here
}
else
{
header("Location:/");//i'm trying to redirect to the root
}
Redirect works perfectly on localhost, but not on remote server.
May be it's all better to use $_SERVER?
This redirect wouldn't work even if i choose file in the same directory as file with redirect.
Hope you help me :)