Re: [PHP] There has to be a better way!!

2010-07-12 Thread Richard Quadling
On 11 July 2010 02:26, Jason Pruim wrote: > > On Jul 10, 2010, at 12:03 PM, Ashley Sheridan wrote: > >> On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: >> >>> Okay so I've been fighting with this for awhile now and haven't found >>> a better way yet >>> >>> What I want to do, is I have a

Re: [PHP] There has to be a better way!!

2010-07-10 Thread Jason Pruim
On Jul 10, 2010, at 12:03 PM, Ashley Sheridan wrote: On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: Okay so I've been fighting with this for awhile now and haven't found a better way yet What I want to do, is I have a small portion of my website included into a template. It is dis

Re: [PHP] There has to be a better way!!

2010-07-10 Thread Ashley Sheridan
On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: > Okay so I've been fighting with this for awhile now and haven't found > a better way yet > > What I want to do, is I have a small portion of my website included > into a template. It is displaying hosting plans so on the main site

Re: [PHP] there has to be a better way...

2003-10-23 Thread Raquel Rice
On Thu, 23 Oct 2003 01:04:55 -0500 "Walter Torres" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Colin Kettenacker [mailto:[EMAIL PROTECTED] > > > > Hi Walter, > > > > You may want to look into PEAR's config package. It does pretty > > much all you > > have listed here and a

RE: [PHP] there has to be a better way...

2003-10-22 Thread Walter Torres
> -Original Message- > From: Colin Kettenacker [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2003 12:53 AM > To: jsWalter; [EMAIL PROTECTED] > Subject: Re: [PHP] there has to be a better way... > > > Hi Walter, > > You may want to look into PEAR&#x

Re: [PHP] there has to be a better way...

2003-10-22 Thread Colin Kettenacker
Hi Walter, You may want to look into PEAR's config package. It does pretty much all you have listed here and a lot more. I just started looking into it today. I haven't looked closely at the code so I don't know how efficiently it handles everything it does but it may give you some ideas. As far a

Re: [PHP] there has to be a better way...

2003-10-22 Thread Curt Zirzow
* Thus wrote jsWalter ([EMAIL PROTECTED]): > I need to read (write comes later) from a config file that we used to handle > manually. > > I'm getting lazy, so I'm writing a web interface for this. > > What I have does this... > - open a given file > - dump entire file into a string > - expl

Re: [PHP] there has to be a better way...

2003-10-22 Thread John W. Holmes
jsWalter wrote: I need to read (write comes later) from a config file that we used to handle manually. I'm getting lazy, so I'm writing a web interface for this. Don't know if someone said this or not, but why not just use parse_ini_file() ? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o

RE: [PHP] there has to be a better way...

2003-10-22 Thread Daevid Vincent
> -Original Message- > From: Walter Torres [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2003 3:27 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] there has to be a better way... > > > "Daevid Vincent" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP] there has to be a better way...

2003-10-22 Thread jsWalter
"Daevid Vincent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Here is a snippet from my dhcp web page found on my site below... Not > exactly what you want, but could help you start... thanks! > // read in the dhcp_map.ini file to map MAC addresses to images > $mapFile = "./dhc

Re: [PHP] there has to be a better way...

2003-10-22 Thread jsWalter
"- Edwin -" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 22 Oct 2003 03:10:44 -0500 > "jsWalter" <[EMAIL PROTECTED]> wrote: > > [snip] > > There must be a better way to do this. > [/snip] > > http://www.php.net/manual/en/function.parse-ini-file.php ? thanks. But, my con

RE: [PHP] there has to be a better way...

2003-10-22 Thread Daevid Vincent
Here is a snippet from my dhcp web page found on my site below... Not exactly what you want, but could help you start... // read in the dhcp_map.ini file to map MAC addresses to images $mapFile = "./dhcp_map.ini"; if( $fp = @fopen($mapFile, "r") ) {

Re: [PHP] there has to be a better way...

2003-10-22 Thread Nick JORDAN
"jsWalter" <[EMAIL PROTECTED]> wrote on 22/10/2003 09:10:44: > I need to read (write comes later) from a config file that we used to handle > manually. > There must be a better way to do this. Check out the parse_ini_file() function. Nick -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] there has to be a better way...

2003-10-22 Thread - Edwin -
On Wed, 22 Oct 2003 03:10:44 -0500 "jsWalter" <[EMAIL PROTECTED]> wrote: [snip] > There must be a better way to do this. [/snip] http://www.php.net/manual/en/function.parse-ini-file.php ? - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! h