sup pat025,
Ok if I understand you correctly, you want to be able to use a function without giving access to the actual code contained within the function. As far as I kno, you HAVE to include the file with the function to be able to access it.
If all you want to do is to prevent access to the plain text password stored in the function, then you can encode the file using third party commercial encoders. Zend Encoder is an expensive way to go or there r sum cheap solutions for abt $55.
I am not sure if this is what you actually wanted to do, but keep me posted.