How do i get relative and absolute paths with global functions and variables. I have seen in cms like wordpress and joomla, whenever we install it, it stores paths in config.php files accurately whether we have installed it in parent domain or in sub-domain.
I tried but failed to make such function that can extract correct path working for any directory that user is installing my script. Can anybody suggest that?


Reply With Quote

Bookmarks