Re: How to read PHP variables.

From: Date: Wed, 13 Jul 2005 09:25:18 +0000
Subject: Re: How to read PHP variables.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218606@lists.php.net to get a copy of this message
Bruno B B Magalhães wrote:
That's my problem: I have a configuration files with the following structure... $vars['varname'] = 'varvalue';
If you trust the config file: <?php eval(file_get_contents('/path/to/config.file')); ?> Jasper

« previous php.general (#218606) next »