Re: Re: Modifying Windows INI profiles
| From: | LaserJetter | Date: | Tue, 25 Dec 2001 14:26:10 +0000 |
| Subject: | Re: Re: Modifying Windows INI profiles | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11119@lists.php.net to get a copy of this message | ||
Just been for a surf and I think on www.phpbuilder.com there is a script
(not an extension) for reading and modifying a .ini file. It's probably
using fopen etc though.
"Craig Morrison" <craig@2cah.com> wrote in message
news:3C288860.73A43F10@2cah.com...
>
> LaserJetter wrote:
> >
> > There may be extensions available which come with your email server but
I
>
> Nope, not that relate to PHP, I wrote the email server..
>
> > would just use fopen and file() to modify .ini settings
>
> I was hoping for a more elegant solution than this.
>
> There are per user settings that I want to make available to my email
users,
> reading/writing/modifying an entire INI file on a per user basis is not an
> elegant solution.
>
> Surely someone out there has written an extension DLL for Windows that
> provides wrappers around WritePrivateProfileString, et al. If not, I'll
> probably end up writing the extension myself. I just didn't want to have
to
> re-invent the wheel if someone else had already done it.
>
> --
>
> Craig Morrison
> MTS Professional @ http://www.mtsprofessional.com/
> A Win32 Email server that works for _you_.