I have the following folder structure
/main/site/
the redirect script is in the following dir
/main/site/backend/
header('Location: ../register.php');
returns to /main/register.php/
when it should go to /main/site/register.php
It seems all ok in the code , since ../
should go back one dir,
someone know what is wrong?