Anyone: [PHP-WIN] *.ini

From: Date: Tue, 15 May 2001 06:19:52 +0000
Subject: Anyone: [PHP-WIN] *.ini
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-7568@lists.php.net to get a copy of this message
>[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@lists.php.net > >> For additional commands, e-mail: php-windows-help@lists.php.net > >> To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > >-- > >John Taylor-Johnston > >Langues Modernes > >poste 289 > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#7568) next »