Header function question

what does

header("location: .");

mean? just a . ?

The dot means the current directory. So it would redirect the file to the index file of the current directory.

That’s correct.
If you put it like this it will be the root.

header("location: ..");  

I’m not sure if the backslash is necessary.

header("location: ../");