PHP Classes

parse_ini_file reserved words work around ?

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  parse_ini_file reserved words work...  
Subject:parse_ini_file reserved words work...
Summary:parse_ini_file reserved words work around ?
Messages:2
Author:Salvis
Date:2009-01-17 14:40:57
Update:2009-01-20 03:34:39
 

  1. parse_ini_file reserved words work...   Reply   Report abuse  
Picture of Salvis Salvis - 2009-01-17 14:55:11
Hello!
I have ini file (for example my.ini) :

;File starts
[SMS-Maker]
Date=2009.01.10.
Time=23:47:45
TimeZone=GMT+2
No=+37112345678
text=;-)
Read=1
;File ends

I trying parse this file in php with

parse_ini_file("my.ini");

but there is no output, since there is key "No" in my.ini file.
Is there any work around to get parsed this file?
Changing "No" to another word is not an option.

There is 1 reply in this thread, which is not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.