Tuesday, 22 June 2021

PHP retrieve parameter from your.ini file and how to take special symbols in .ini file

https://stackoverflow.com/questions/6684800/syntax-error-using-parse-ini-file-when-files-values-contain-exclamation-poin 

You don't need to change your ini files you can just add the INI_SCANNER_RAW option.

parse_ini_file('your.ini', true, INI_SCANNER_RAW);

No comments:

Post a Comment