Programmer76
Programmer
Hi,
Can someone tell me how to best handle requiring files with the require_once function.
I have a files structure like this:
That is the basic directoyr structure. myadminpage.php includes the admin.inc file...I see that this is a common problem adn was hoping on advice of how to best handle this?
Anyone have some suggestions?
CES
Can someone tell me how to best handle requiring files with the require_once function.
I have a files structure like this:
Code:
WebsiteRoot
admin
- myadminpage.php
includes
inc
- admin.inc
- index.php
That is the basic directoyr structure. myadminpage.php includes the admin.inc file...I see that this is a common problem adn was hoping on advice of how to best handle this?
Anyone have some suggestions?
CES