PHP variable from external php file


  1. index.php
  2. /include/conf.php
  3. /include/database.php
  4.        
  5. define("db_host", "localhost");
  6.        
  7. global $db_host, $db_user, $db_pass, $db_name;


Learn More :