Hi Jim,
Cheers for the reply.
I had to swap the quotes around to get it running on the windows command
line.
This from the 5.3.0 machine that does not parse:
C:\wamp\www\digishop\install\lang>C:\wamp\bin\php\php5.3.0\php -r
"print_r(parse_ini_file('1-ISO-8859-1.ini.php'));"
PHP War
2009/8/26 Richard H Lee :
> Hi all,
>
> I think I'm having a problem with parse_ini_file in php. I am using wamp on
> two machines. I'm installing a Digishop e-commerce package.
>
> The blah.ini.php file starts with
>
>
>
>
>
> [SOMETITLE]
> some_setting="Ok, I Have Completed This
Richard H Lee wrote:
> Hi all,
>
> I think I'm having a problem with parse_ini_file in php. I am using wamp
> on two machines. I'm installing a Digishop e-commerce package.
>
> The blah.ini.php file starts with
>
>
>
>
>
> [SOMETITLE]
> some_setting="Ok, I Have Completed This
Hi all,
I think I'm having a problem with parse_ini_file in php. I am using wamp
on two machines. I'm installing a Digishop e-commerce package.
The blah.ini.php file starts with
[SOMETITLE]
some_setting="Ok, I Have Completed This Step"
another_setting="Next"
..
..
..
-
On Fri, 27 Aug 2004 12:54:14 +0300, Vladimir <[EMAIL PROTECTED]> 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.i
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
6 matches
Mail list logo