php-windows | 2001051
Date: 05/15/01
- Next message: jtjohnston: "Re: [PHP-WIN] *.ini"
- Previous message: MBOULTER <email protected>: "re: [PHP-WIN] Any links to a new CVS of PHP 4.0.6 Win32?"
- In reply to: Alan Popow: "Re: [PHP-WIN] *.ini"
- Next in thread: Alan Popow: "Re: [PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Reply: Alan Popow: "Re: [PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>[StoreData]
>Name=Ben Hurr
Has anyone a few lines of code that could help read a couple of variables in an
*.ini file?
Thanks,
John
Alan Popow wrote:
> 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>
-- 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: jtjohnston: "Re: [PHP-WIN] *.ini"
- Previous message: MBOULTER <email protected>: "re: [PHP-WIN] Any links to a new CVS of PHP 4.0.6 Win32?"
- In reply to: Alan Popow: "Re: [PHP-WIN] *.ini"
- Next in thread: Alan Popow: "Re: [PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Reply: Alan Popow: "Re: [PHP-WIN] Anyone: [PHP-WIN] *.ini"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

