anyone know how to create php class root directory just like wordpress does?
it doenst have to be like wordpress.
ive got some folders
*include:
-header.php
-footer.php
*images
*forms
-index.php
the problem is when i use php header the image doesnt link up properly, is there anyway to solve it.
i read some article to use $_SERVER['DOCUMENT_ROOT']. and how do i apply it globally?
$_SERVER['DOCUMENT_ROOT']will it work globally?