jonniejoejonson Posted February 14, 2008 Share Posted February 14, 2008 I understand that... $config['BASE_URL'] = 'http://www.myWebsite.com'; $config['BASE_DIR'] = my root directory. but why would you use oneover the other or is it better to reference relitavely...eg... '../../openThisPage.php'; Which is fastest.... $config['BASE_URL'].'/openThisPage.php'; $config['BASE_DIR'].'/openThisPage.php'; '../../openThisPage.php'; thanks to any responders. J Link to comment https://forums.phpfreaks.com/topic/91024-base_dir-or-base_url/ Share on other sites More sharing options...
Isityou Posted February 14, 2008 Share Posted February 14, 2008 Use relative links. Link to comment https://forums.phpfreaks.com/topic/91024-base_dir-or-base_url/#findComment-466555 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.