Salve, ho un file di configurazione "config.php" strutturato in questa maniera:

Codice PHP:
<?php 
error_reporting
(E_ALL); 
$_CONFIG['host'] = "localhost"
$_CONFIG['user'] = "root"
$_CONFIG['pass'] = "password"
$_CONFIG['dbname'] = "db_prova";
...
ora volevo sapere come potevo utilizzare queste variabili fuori dal file, ovvero vorrei utilizzare per esempio la variabile $_CONFIG['host'] in un altro file php.
Ho provato ad includere il file config.php, ma la variabile risulta vuota!
Come posso fare?

Grazie!