Actually I am devloping a php application and I came across a weird problem.
I have a config file, myfile.ini. There is one category in it :
[MYFILES]
FILENAME=My file
FILEID=32404506123
FILEINFO=This file package now has no download limit giving you access to as much music, film and tv as you want.
My browser shows “cannot display the page” when I start extraxting anything from it. No matter it is MYFILES category or any other, like below:
$fileconfig = get the path of myfile.ini;
$fileproperties= $this->_configreader->getParam ($fileconfig , 'FILEPROPERTIES', '' );
When I remove “no” from FILEINFO above, it works fine. Also when I put FILEINFO in doublequotes, working fine.
Please help me regarding this.
Thanks
It’s hard to say what your problem is, as I can’t find a question above.
I assume you have errors while using
parse_ini_file(). PHP reads a very strict *.ini-format, thus most values needs to get enclosed by quotes.