php-windows | 2001051
Date: 05/14/01
- Next message: Ignatius Teo: "RE: [PHP-WIN] *.ini"
- Previous message: Alan Popow: "Re: [PHP-WIN] Difference between loadmodule and scriptalias"
- In reply to: John Taylor-Johnston: "Re: [PHP-WIN] *.ini"
- Next in thread: jtjohnston: "[PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Reply: jtjohnston: "[PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 14 May 2001 21:48:54 -0400, you wrote:
Ahh.. Ok. I see what you're getting at.
While I haven't tried it, it probably wouldn't be a lot of code to create a
function to do it using file() to read the .ini file into an array and then
using array_search() to find the required information.
Alan
>There is no procedure in place, no one has created a module to ... to read ...
>say ...
>
>[StoreData]
>Name=Ben Hurr
>
>Not that I'm going to go Perling just for this, but ...
>
>??
>John
>
>Alan Popow a écrit :
>
>> On Mon, 14 May 2001 18:30:48 -0400, you wrote:
>>
>> A *.ini file is just a common garden variety text file. Read it however you
>> read any other text file.
>>
>> Alan
>>
>> >How can I read the contents of an *.ini file?
>> >Is there an example kicking around that I did not see?
>> >
>> >Thanks,
>> >
>> >John
>> >
>> >--
>> >John Taylor-Johnston
>> >Langues Modernes
>> >poste 289
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
>> For additional commands, e-mail: php-windows-help <email protected>
>> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>--
>John Taylor-Johnston
>Langues Modernes
>poste 289
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Ignatius Teo: "RE: [PHP-WIN] *.ini"
- Previous message: Alan Popow: "Re: [PHP-WIN] Difference between loadmodule and scriptalias"
- In reply to: John Taylor-Johnston: "Re: [PHP-WIN] *.ini"
- Next in thread: jtjohnston: "[PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Reply: jtjohnston: "[PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

