Skip to main content

Code - View File Config Zend (Not dezend)

Phương pháp 1

<?php
include 'includes/config.php';
echo $config['Database']['dbname'];
echo "<br>";
echo $config['MasterServer']['username'];
echo "<br>";
echo $config['MasterServer']['password'];
?>

Phương pháp 2

<?php include('xxx.php'); print_r($GLOBALS); ?>

Share this with your friends
Loading...