I have a ini file comming from an external program, that I have no control over. The ini file does not have double quotes around the values Example:
[Setup]
C SetupCode=Code of the currently installed setup (JOW
C machine configuration). Use a maximum of 8 characters.
using parse_ini_file() gives me: syntax error, unexpected ')'
I guess i should read the file raw in php and add double quotes around the values like this:
[Setup]
C SetupCode="Code of the currently installed setup (JOW
C machine configuration). Use a maximum of 8 characters."
Is this the best practice, and if so how would I do it?
parse_ini_file()