I have installed LAMP in ubuntu server. and its working good.. i have a php application which has a folder structure the root folder has
- index.php
- {Database}
- localhost.php
- {Modules}
- module1.php
- module2.php
- module3.php
- {MODULE3}
- submod1.php
- submod2.php
based on _GET the modules are included in index.php by
include('Modules/module2.php');
which works out perfectly well.. but in the module1.php when i try to include localhost.php by
include('/Database/localhost.php');
it doesn't work out. why is that it's not working..
NOTE:the same code works perfectly in WAMP in my windows 7.