The forums ran from 2008-2020 and are now closed and viewable here as an archive.
What I have:
Where its taking me:
results in a page not found cause index php is located at http://localhost/sm
So I’m looking for something like header(‘Location: ../index.php’) to get back to the main directory. Any ideas?
Does ../index.php not work?
Nope, does make it any difference at all…its still looking in http://localhost/sm/system/index.php
Figured it out…I needed one more ../ so I ended up with:
so use one ../ for each directory you want to go back. I could of sworn you only needed one ../ to get back to the main dir, guess not.