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?
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?