New Module
| From: | Keyser Soze | Date: | Tue, 05 Mar 2002 00:58:17 +0000 |
| Subject: | New Module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-80711@lists.php.net to get a copy of this message | ||
Hi all,
I have developed a new module that may be of interest of you. I'm putting it
under GNU license.
The module consist of two functions:
bool cfg_set(string file,assoc array vars): it saves configurations in vars
crypted into file
array cfg_set(string file): returns the associative array uncrypted
This module uses a library called libmycrypt.so which must be developed by
the user and must have two functions:
char *my_crypt(char *string)
char *my_decrypt(char *string)
This module was intended two protect the configurations of database like:
user, pass, ip, dbname,.... so that even if someones get his hands on the
php scripts, he can't get those variables.
I just need to comment out the code, but it will be ready tomorrow for sure.
To where should I send the code, so if you are interested, put in php
distribution???
Regards,
Fabricio Olivetti de França
aka Keyser Soze