add functions to interbase extension
| From: | Fabrice Aeschbacher | Date: | Sun, 13 Jan 2002 14:14:38 +0000 |
| Subject: | add functions to interbase extension | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76868@lists.php.net to get a copy of this message | ||
Hi,
I wrote the code to add the 3 following functions to the Interbase extension (php_interbase.dll) to achieve user management:
// Add a user to security database
proto int ibase_add_user(
string server, // Name of Interbase server string dba_user_name, // DB admin account (eg SYSDBA) string dba_password, // DB admin pwd (eg masterkey) string user_name, // user to be added string password // and its password [, string first_name] // (optional) user's first name[, string middle_name] [, string last_name] ) // Modify an user from security database proto int ibase_modify_user( string server, string dba_user_name, string dba_password, string user_name, string password [, string first_name] [, string middle_name] [, string last_name] ) // Delete an user from security database proto int ibase_delete_user( string server, string username ) Do you think it's worth extending PHP with these functions? Do you like the prototypes? Any comments are welcome. Thanks Fabrice Aeschbacher mailto:fabrice.aeschbacher@wanadoo.fr