Re: best way to save program prefs to a file?
| From: | Greg Donald | Date: | Tue, 27 Sep 2005 14:33:10 +0000 |
| Subject: | Re: best way to save program prefs to a file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223282@lists.php.net to get a copy of this message | ||
On 9/27/05, Chris <cwilli14@rochester.rr.com> wrote:
> I'd like to save some program preferences to a txt file where they can be
> recalled and updated at a later time. Basically this will be a variable name
> and a value. Can someone suggest a reference or method to best perform this
> task?
While learning Rubyonrails recently I discovered Yaml. It's sorta
like .ini files on steroids. There's a PHP implementation available
here:
http://whytheluckystiff.net/syck/
And the main site is here:
http://yaml.org/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/