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? 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 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
Archived
This topic is now archived and is closed to further replies.