>[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: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >--
> >John Taylor-Johnston
> >Langues Modernes
> >poste 289
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]