RE: [PHP-DEV] New Module
| From: | Chris Newbill | Date: | Tue, 05 Mar 2002 06:09:45 +0000 |
| Subject: | RE: [PHP-DEV] New Module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80718@lists.php.net to get a copy of this message | ||
PHP already has mcrypt support so doing this in userland wouldn't be
much of a challenge at all.
See pear.php.net.
-Chris
-----Original Message-----
From: Keyser Soze [mailto:keysers@terra.com.br]
Sent: Monday, March 04, 2002 5:58 PM
To: PHP-DEV
Subject: [PHP-DEV] New Module
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php