Re: parse_ini_file problem
| From: | Ramil Sagum | Date: | Fri, 27 Aug 2004 12:41:57 +0000 |
| Subject: | Re: parse_ini_file problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194924@lists.php.net to get a copy of this message | ||
On Fri, 27 Aug 2004 12:54:14 +0300, Vladimir <vovan@neti.ee> wrote:
> Hello folks!
>
> I have an ini file that looks like this:
> index.rent=Rent
> index.faq=FAQ
> index.contact=Contact
> index.links=Links
>
> then I want to read this file:
> $english_messages = parse_ini_file('conf/english.ini');
> print_r($english_messages);
>
> What I see is:
> Array ( [index.rent] => Rent )
>
> And that's all. Shouldn't parse_ini_file return all the messages I have in
> ini file but not only the first one? I'm using 4.3.8 on windows XP.
>
> TIA.
> Vladimir
>
I can't seem to replicate your problem (and I copied the code from your email).
No warnings? DId you check the log for messages?
----
ramil
http://ramil.sagum.net