[PHP-DEV] need help From: Yiding Zhang (yidingz <email protected>)
Date: 09/27/00

I am new to PHP, when I was trying to run PHP3 to test encrypt and decrpt
function listed in PHP3 document:

<html>
    <head>
        <title>Example</title>
    </head>
    <body>

        <?php
               $plainText = "abcdefg";
                $salt ="key";
                $cipherText = encrypt($plainText,$salt);
                echo "$cipherText";
        ?>

    </body>
</html>

I always get the error message like this:
Fatal error: Call to unsupported or undefined function encrypt() in
D:\inetpub\wwwroot/test.php on line 10

What is missing? Do I need to install any support libraries? Where can I
install it?

Any help will be appreciated.

Dean,

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>