Brain block with require
Posted: Tue May 11, 2004 10:33 am
having a brainblock with require
i have a directory structure like this
in index, i require onlineusers.php, no problem there. But in onlineusers.php, i need to require config.php but i just cant get it to work!
i thought in onlineusers.php i would just need to do
Mark
i have a directory structure like this
Code: Select all
root
|_includes <dir>
| |_onlineusers.php
| |_config.php
|_index.phpi thought in onlineusers.php i would just need to do
Code: Select all
require ("config.php");