PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
This has been buggin' me for a while but I've managed to work around it easy enough, and as I was passing by thought I might ask you guys 'n gals about it.
If I try to include() or require() a file which is in a higher directory I always get an error saying that the file can not be found. An example would be..
Hmm.. ok, so what would "one level up" be? In HTML, CSS, and JS "../" is used to point to a directory one level up and a simple "/" is used for the root directory.
/ -- root directory
. -- current directory
.. -- parent directory
; -- is NOT optional (or CAN but i dont know)
I -- dont know what 's happening with this problem...