I have a ini styled file where:
Key=value
Unfortunately, my value has an '='s in it and parse_ini_file() is returning:
Warning: Error parsing ./templates.ini on line 4 in Unknown on line 0
Line 4 of ./templates.ini is:
whatsnew=http://local.shrum.php/template.php?sql=SELECT%20*%20FROM%20whats_new%20ORDER%20BY%20date%20desc%20LIMIT%200,10;&page=./templates/v.4/blank.shtml&table=./templates/v.4/blank.shtml&record=./templates/v.4/whatsnew_column.shtml
Any ideas about how to handle this. Is there a way to make parse_ini_file() ignore in-value '='s? Or do I have to do the parsing manually, looking for the '/n/r' as a value break. And if so, what is the code for something like that.
Any suggestions would be helpful.
TIA
Sean Shrum