nothing500 Posted May 21, 2009 Share Posted May 21, 2009 So, I don't need to have the SAME line of code to include my 'config.php' on every page... <?php require_once($_SERVER['DOCUMENT_ROOT'].'/includes/config.php'); ?> A script that adds an include into every page on a site: What are those called? Quote Link to comment https://forums.phpfreaks.com/topic/159119-solved-a-script-that-adds-an-include-into-every-page-on-a-site-what-are-those-called/ Share on other sites More sharing options...
Daniel0 Posted May 21, 2009 Share Posted May 21, 2009 http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file Quote Link to comment https://forums.phpfreaks.com/topic/159119-solved-a-script-that-adds-an-include-into-every-page-on-a-site-what-are-those-called/#findComment-839148 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.