zoukankan      html  css  js  c++  java
  • Compilingphpwithcrypt()

    简介:这是Compilingphpwithcrypt()的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

    class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=322830' scrolling='no'>

    Compiling php with crypt()


    author:
    Daniel Beulshausen

    updated:
    14.10.2000



    This quick tutorial shall help you to compile php with support for the crypt() function, because it's not correct that if you use windows you can't use crypt().
    It is however correct that libcrypt isn't available by default on windows, but you can use the libary from our download section.
    Extract the zip and move crypt.h to your include folder, and the needed libary (release or debug) to your libary folder (tools -> options -> folders).
    Load the php workspace, and add crypt.c (can be found in ext/standard/) to the php4dllts group (you can put crypt.c to Function Modules -> Source Files).
    Now edit the link options of the php4dllts project, and add libcrypt to the link libaries, note that we compiled a release and a debug libary, please use only release for the release builds, and the debug libary for debug builds!
    Now edit config.w32.h (located in main/), edit it and change the needed defines:

    #define HAVE_CRYPT 1
    #define HAVE_CRYPT_H 1

    This should do the trick, and it'll build you php with the crypt() function. 

    “Compilingphpwithcrypt()”的更多相关文章 》

    爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

    http://biancheng.dnbcw.info/php/322830.html pageNo:16
  • 相关阅读:
    数组乘积更新
    win向linux传文件
    遇到autoreconf: not found
    python thread
    aptitude
    virtualbox安装ubuntu出现“The system is running in low-graphics mode”
    webform用户控件
    LinQ to SQL
    表单验证
    文件上传
  • 原文地址:https://www.cnblogs.com/ooooo/p/2255938.html
Copyright © 2011-2022 走看看