Forum Moderators: coopster
I have build a small site based on this Tutorial [phpbuilder.com]. It's a template framework, which does exactly what I want expect for one thing.
I cannot get this PHP script to accept sub-directories. At the moment all files have to be on root level in order to work.
Being a PHP newbie, I don't know how to change the code in order to make it work.
It'd be great if on of you could help me!
Thanks in advance! :)
But as I said, I have only very limited understanding of PHP and can just hack around in some scripts a little bit.
I fear, I even don't know how to direct the "require" command to a higher directory. In HTML it's ../, but how does that work in PHP?
Sorry for such rudimental questions.
Thanks!
The PHP manual is loaded with information and proves to be a great resource. The online manual (and now the downloadable manual) includes User Contributions that can be very helpful as well. Visit [php.net...] and bookmark the manuals page, put it right next to WebmasterWorld in your Bookmarks ;)