Skip to content
Advertisement

Going back one directory without wanting

I’m colaborating with another person and just got their code, when I try and run it nothing loads because all file names are going back one directory like htdocs/dir/index.php if i try in php include_once('test.php') it would error out because there is no file htdocs/test.php, I’m sorry for bad writing

Advertisement

Answer

Fixed it by using ./test.php instead

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement