Function/globalizing
| From: | Liam Gibbs | Date: | Sun, 16 Mar 2003 19:28:08 +0000 |
| Subject: | Function/globalizing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139860@lists.php.net to get a copy of this message | ||
I have a function, such as this:
function encryptPassword($password, $salt = $encryptiontechnique) {
}
$encryptiontechnique is defined, obviously outside the function. How is it possible to make
$encryptiontechnique global so that this will work?