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?
Thanks
Chris
BTW: I do not want to use MySql.
--
PHP
[snip]
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?
[/snip]
Open a new file, save stuff to it, close the
Chris 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?
Thanks
Chris
BTW: I do not want to use
Are you wanting the preferences to be real-time changeable? For example,
user preferences that can be modified then saved? If so, just store them in
an array, then serialize the array and save it to a file. Read the file at
every page load.
[code]
//save the settings
A.J. Brown wrote:
Are you wanting the preferences to be real-time changeable? For example,
user preferences that can be modified then saved? If so, just store them in
an array, then serialize the array and save it to a file. Read the file at
every page load.
[code]
//save the settings
On 9/27/05, Chris [EMAIL PROTECTED] 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
Cool...that's exactly what I was looking for!!
Torgny Bjers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Chris 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
Vermillion [EMAIL PROTECTED]
To: A.J. Brown [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Tuesday, September 27, 2005 10:48 AM
Subject: Re: [PHP] best way to save program prefs to a file?
A.J. Brown wrote:
Are you wanting the preferences to be real-time changeable? For example,
user
8 matches
Mail list logo