rasheed771982 Posted June 30, 2008 Share Posted June 30, 2008 i saw this code : require_once('/www/config_files/file.php'); but there is no directory www/....etc where is this directory? i am using windows not unix Link to comment https://forums.phpfreaks.com/topic/112566-solved-require_oncewwwconfig_filesfilephp/ Share on other sites More sharing options...
trq Posted June 30, 2008 Share Posted June 30, 2008 The very first / refers to the root of the filesystem. Link to comment https://forums.phpfreaks.com/topic/112566-solved-require_oncewwwconfig_filesfilephp/#findComment-578092 Share on other sites More sharing options...
phpzone Posted June 30, 2008 Share Posted June 30, 2008 It would be equivalent to c:\www\config_files\file.php Link to comment https://forums.phpfreaks.com/topic/112566-solved-require_oncewwwconfig_filesfilephp/#findComment-578093 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.