getcwd
Posted: Mon Jan 06, 2003 8:23 pm
common_db.inc
This path looks urgly.
Can anyone show me how to how use getcwd()to get the source ???
And I would not mind if there is any other method to go about it.
My intend is to use a file to keep all path in the root of the server and call it
with a function.
How can I do this please???
Thanks
This path looks urgly.
Code: Select all
include ("c:\\inetpub\\wwwroot\\cookBook\\recipes\\lib\\Cookbook.php");
include ("c:\\inetpub\\wwwroot\\cookBook\\recipes\\lib\\Cookbook_Utils.php");
include ("c:\\inetpub\\wwwroot\\cookBook\\recipes\\lib\\Cookbook_Webutils.php");
include ("c:\\inetpub\\wwwroot\\cookBook\\recipes\\lib\\Cookbook_Session.php");And I would not mind if there is any other method to go about it.
My intend is to use a file to keep all path in the root of the server and call it
with a function.
How can I do this please???
Thanks