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

2010-07-12 Thread Richard Quadling
On 11 July 2010 02:26, Jason Pruim li...@pruimphotography.com 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

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

2010-07-10 Thread Jason Pruim
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 index.php I want it to display a little bit of text (Same as on

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!!

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

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

2003-10-23 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's config package. It does pretty much all

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 lot more. I just

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

2003-10-22 Thread jsWalter
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 - explode string into an array at the EOL marker - walk down

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!

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 Daevid Vincent
:0B:AD:08:38:C3 tivoDaevid's Daevid Vincent http://daevid.com -Original Message- From: jsWalter [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 1:11 AM To: [EMAIL PROTECTED] Subject: [PHP] there has to be a better way... I need to read (write comes

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 concern with that

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 =

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 message news:[EMAIL PROTECTED] Here is a snippet from

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:

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 - explode

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