How do I know if crypt is installed?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raj

    How do I know if crypt is installed?

    I'm trying to find out how to know if crypt is installed on the
    system. With mcrypt there is a section in phpinfo() but I can't find
    any similar section for crypt.

    How do people know?

    Thanks in advance,

    Raj
  • Chris Hope

    #2
    Re: How do I know if crypt is installed?

    Raj wrote:
    [color=blue]
    > I'm trying to find out how to know if crypt is installed on the
    > system. With mcrypt there is a section in phpinfo() but I can't find
    > any similar section for crypt.
    >
    > How do people know?[/color]

    Try function_exists ('crypt') http://www.php.net/function_exists

    As far as I am aware crypt() is part of the PHP core and should always be
    present. I couldn't find anything that says it isn't in the manual page


    --
    Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/

    Comment

    Working...