Hello..
I am doing a project in PHP which I am not very familiar. I am using a MVC framework (CodeIgnitor). I have noticed that each time I return a view that resulted from a longer/shorter url string all of my includes break. It appears that the paths are relative to url.
Is $_SERVER["DOCUMENT_ROOT"] the best way to generate include paths in PHP?
Thanks!