Re: [PHP] parse_ini_file problem

2009-08-27 Thread Stuart
2009/8/26 Richard H Lee rich...@webdezign.co.uk: 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 ?php die ? [SOMETITLE] some_setting=Ok, I

Re: [PHP] parse_ini_file problem [SOLVED]

2009-08-27 Thread Richard H Lee
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\langC:\wamp\bin\php\php5.3.0\php -r print_r(parse_ini_file('1-ISO-8859-1.ini.php')); PHP

[PHP] parse_ini_file problem

2009-08-26 Thread 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 ?php die ? [SOMETITLE] some_setting=Ok, I Have Completed This Step another_setting=Next .. ..

Re: [PHP] parse_ini_file problem

2009-08-26 Thread Jim Lucas
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 ?php die ? [SOMETITLE] some_setting=Ok, I Have Completed This

[PHP] parse_ini_file problem

2004-08-27 Thread Vladimir
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

Re: [PHP] parse_ini_file problem

2004-08-27 Thread Ramil Sagum
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.ini');