Questions tagged [ini]
The INI file format includes text-based initialization information for programs. Its structure is composed of "sections" and "properties".
1,664
questions
1
vote
1
answer
40
views
php.ini Path Disagreement
There are two tools commonly used to identify the configuration file path of php.ini. But in my environment, Ubuntu running Apache and PHP 8.2.21, the two tools disagree.
From my browser, running a ...
0
votes
0
answers
19
views
Is there a way to know which .user.ini files have been loaded for the currently running php script?
Since the .user.ini per directory php ini files can be used to set the auto_append_file setting, thus prepending each and every php script in the folder with another script, I wanted to know if and ...
-2
votes
0
answers
28
views
authenticate to Grafana using Jwt
i am trying to connect to grafana (version 10.4.3) using the jwt token .
so before all ,i copied the sample.ini to custom.ini ( since i am in windows )
when i JUST changed the jwt settings to (...
0
votes
0
answers
12
views
QLineEdit adding extra '\' from text()
I'm entering a string in QLineEdit as:
SIM VFB ALL\.DataProcCycle\.EmGenObjectList\.aObject\[.*\]\.Kinematic\.fDistX
Then I'm reading the text and creating an INI file with QSettings.
My code is as ...
-1
votes
1
answer
50
views
How can I parse a .ini file with this type of format?
I would like to parse a generated .ini file containing some config parameters, but I am a little uncertain of the format used. I am not able to change the format of the generated .ini file. This is a ...
0
votes
1
answer
60
views
how to get the source dir of the exe file in c#
I created a setup project in Visual Studio.
In this project I need to run a C# application as customer action during installation and I need the path of the setup file (.exe).
How can I get the source ...
-2
votes
1
answer
75
views
Read ini key longer than 255 characters
I would like to read the key from the ini file and load it into the listbox.
Everything works until the ini key exceeds 255 characters, then it gives an error
ini look like here:
[Islands]
name=...
0
votes
0
answers
48
views
How can I write to an .INI config file without loading the entire file first
I am trying to write to a .ini file without having to load the entire file first. It seems like a waste of CPU to load a INI file just to make a small change and write the entire file out again. ...
1
vote
1
answer
38
views
How to correctly import JS modules?
I want to parse ini file
Here is my html code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" ...
0
votes
1
answer
34
views
How to read config kind file using shell script
I have a file names.txt
[Fruits]
Apple
Banana
Orange
[Vegetables]
Carrots
Spinach
I need to display the Apple, Banana and Oranges if the condition is met as Fruits. Similarly, if the condition is met ...
1
vote
1
answer
51
views
Problem with parsing a INI file into structs with Boost Spirit
I'm trying to store INI file information in a struct with this code:
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/spirit/include/qi.hpp>
#include <iostream>
#...
0
votes
0
answers
39
views
Parsing INI Configuration File with Java: Section Values Missing
I'm working with an INI configuration file in Java and encountering issues with extracting values using both ini4j and IniEditor by Nik Haldimann. The structure of the configuration file is as follows:...
0
votes
1
answer
37
views
Setup access.ini file permession so it can be read by php script
I'm really new to this so sorry if this isn't clear.
I'm trying to hide my database credentials using an access.ini file.
I have a AWS instance, with my scripts located in /bitnami/joomla/index (in ...
0
votes
0
answers
22
views
php read nested sections in ini file
I try to read the file names.ini below
into a php array and then access certain
repeating sections within the code.
My code does not work correct, the base
problem seems to be, that ini files don't
...
-2
votes
1
answer
30
views
strange Java org.ini4j.Ini behaviour - file is edited without intentional edit
I am having an ini file, which is my coniguration for a Java application.
I am using org.ini4j.Ini for the purpose of reading and editing the file.
ini = new Ini(new File("config.ini"));
[.....