php one directory back code example
Example 1: javascript reference file two folders up
//.. selects the parent directory from the current. Of course, this can be chained:
../../index.php
//This would be two directories up.
Example 2: import file 3 directories back
//Current Directory
./index.js
//One Directory Up
../index.js
//Two Directories Up
../../index.js