Home 2019 › Forums › Security Settings › Can i login with my twitter account? › Re: How to get and activate purchase code
The filename argument for parse_ini_file is a standard php filename, so the same rules will apply as opening a file using fopen.
You must either specify an absolute file path (“/path/to/my.ini”) or a path relative to your current working directory (“my.ini”). See getcwd for your current working directory.
Unlike the default fopen command, if a relative path is specified (“my.ini”) parse_ini_file will search include paths after searching your current working directory. I verified this in php 5.2.6.