rasheed771982 Posted June 30, 2008 Share Posted June 30, 2008 I saw a code like this: include(CONFIG_DIR.'file.php'); is (CONFIG_DIR) a variable? if so, why there is no $ sign before it? Link to comment https://forums.phpfreaks.com/topic/112564-solved-new-to-php-please-help/ Share on other sites More sharing options...
MasterACE14 Posted June 30, 2008 Share Posted June 30, 2008 looks to me that it has been defined (define(); ) http://au2.php.net/manual/en/function.define.php ACE Link to comment https://forums.phpfreaks.com/topic/112564-solved-new-to-php-please-help/#findComment-578077 Share on other sites More sharing options...
trq Posted June 30, 2008 Share Posted June 30, 2008 I saw a code like this: include(CONFIG_DIR.'file.php'); is (CONFIG_DIR) a variable? if so, why there is no $ sign before it? It is a constant. Link to comment https://forums.phpfreaks.com/topic/112564-solved-new-to-php-please-help/#findComment-578078 Share on other sites More sharing options...
rasheed771982 Posted June 30, 2008 Author Share Posted June 30, 2008 Thank u MasterACE14 Link to comment https://forums.phpfreaks.com/topic/112564-solved-new-to-php-please-help/#findComment-578081 Share on other sites More sharing options...
MasterACE14 Posted June 30, 2008 Share Posted June 30, 2008 thorpe supplied the technical term Link to comment https://forums.phpfreaks.com/topic/112564-solved-new-to-php-please-help/#findComment-578082 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.