kishan Posted October 13, 2008 Share Posted October 13, 2008 Hi all i have a separate module in my app like module1 i want to have the relative path in all the files in that module for ex libs/Atmail/Config.php was located under C:\xampp\htdocs\app\module1\submodule1\libs/Atmail/Config.php but i want to use some thing like file_exists('libs/Atmail/Config.php') so iam giving some thing like $path='C:\xampp\htdocs\app\module1\submodule1'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); will it work im not getting the expected result... Please help Link to comment https://forums.phpfreaks.com/topic/128179-relative-path-for-file_exists/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.