Welcome Guest, Not a member yet? Register   Sign In
write a configuration file dynamically
#1

[eluser]sakcret[/eluser]
I need to write a configuration file dynamically, the file will create the folder config / miarchivoconfiguracion.php, define periods in the example:

Code:
$ config ['fecha_periodo_inicio'] = '2012-01-01 ';
$ config ['fecha_periodo_fin'] = '2012-10-30 ';

try $ this-> set_item ('fecha_periodo_inicio', '2012-02-01 ');
apparently does not work because not physically writes the file
anyone know how to do please hel me thanks...


Messages In This Thread
write a configuration file dynamically - by El Forum - 08-13-2012, 08:50 AM
write a configuration file dynamically - by El Forum - 08-13-2012, 09:18 AM
write a configuration file dynamically - by El Forum - 08-13-2012, 09:19 AM
write a configuration file dynamically - by El Forum - 08-13-2012, 11:08 AM
write a configuration file dynamically - by El Forum - 08-13-2012, 12:21 PM
write a configuration file dynamically - by El Forum - 08-14-2012, 11:29 AM
write a configuration file dynamically - by El Forum - 08-14-2012, 11:52 AM
write a configuration file dynamically - by El Forum - 08-14-2012, 12:35 PM
write a configuration file dynamically - by El Forum - 08-20-2012, 11:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB