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!
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I have a dir in the root dir called "Includes".
But for some reason i can't access it unless i hard code it (I have full admin rights). The last thing i want to do is hard coding something.
If i use this code in the main page it works:
But ofcourse i forgot that the actual project is in another directory... Problem solved thanks.
(I just noticed it when i hit the preview button in this post)