Questions tagged as 'ini'

2
answers

What is and what is php.ini for?

It may even be a simple question but I wonder what is the php.ini and its use for a site / system. If possible, I would like good references (not always the meeting) that can help in the explanation as well.     
asked by 19.11.2015 / 14:28
2
answers

How to transform an INI file into an Array? [duplicate]

How can I transform a INI file into a array into PHP? Example: [database] host = localhost password = sabe_de_nada_inocente port = 3306     
asked by 30.09.2016 / 19:51
1
answer

Array no .ini How to do?

Hello everyone, I would like to know if the possibility of doing array in .ini Using php to call it?     
asked by 05.08.2015 / 20:32
1
answer

Advantages and disadvantages of using INI files

Could you tell me the possible advantages and disadvantages of using a .INI file to configure an application? Preferably, PHP applications.     
asked by 05.07.2015 / 03:22
1
answer

How can I turn an INI file into a Dict?

How can I transform data from a .ini file into a dict into Python? Is there any way to do this in Python ? [database] host = localhost password = sabe_nada_de_python port = 3306     
asked by 30.09.2016 / 20:09
1
answer

Connect with PostGreSQL

I have a *.ini file that connects to my Firebird database, however I need this file now to be configured to connect to PostGreSQL [IBConnection] DriverName=Interbase Database=192.168.1.30:C:\testes\impressoes.fdb Role...
asked by 07.10.2016 / 20:43
1
answer

Is there any difference between saving the settings in dotEnv, JSON or INI?

To save sensitive data from the application, is it recommended to save in dotEnv or can I save it in any other format since the file is not in the public directory? I see many talking about dotEnv, I wanted to know why they say it's so secure...
asked by 11.01.2017 / 00:14
2
answers

Knowing how many properties an INI session has?

I have an INI file which a session has multiple properties: [DLLS] Dll1=... Dll2=... Dll3=... In the example above there are 3 properties. Is there a method in Delphi to identify how many properties the [DLLS] session has?     
asked by 08.07.2015 / 18:29
1
answer

.ini file reading

Is it possible to do variable readings in arquivos.ini with C ++? Ex: host = "localhost" name = "username" pass = "password" port = 1010 When reading from this file I set it to ifstream . ifstream dados; dados.open("arquiv...
asked by 31.08.2015 / 22:58
2
answers

Map array on function return - PHP

Testing location (xampp), I get on the return of the function mapping an array. Example: <?php $res = $obj->Function()[0]['name']; ?> And on the production server (typical hosting) is an interpolated form has an error of type "Pars...
asked by 21.06.2016 / 03:32