Skip to main content

Home/ studay/ Group items tagged php-functions

Rss Feed Group items tagged

doingtoing

PHP: 运行时配置 - Manual - 0 views

  • 配置文件(PHP 3 中是 php3.ini,自 PHP 4 起是 php.ini)在 PHP 启动时被读取。对于服务器模块版本的 PHP,仅在 web 服务器启动时读取一次。对于 CGI 和 CLI 版本,每次调用都会读取。
  • 如果存在 php-SAPI.ini(SAPI 是当前所用的 SAPI 名称,因此实际文件名为 php-cli.ini 或 php-apache.ini 等),则会用它替代 php.ini。SAPI 的名称可以用 php_sapi_name() 来测定。
  • 注意: Apache web 服务器在启动时会把目录转到根目录,这将导致 PHP 尝试在根目录下读取 php.ini,如果存在的话。
doingtoing

PHP: Windows 下安装扩展库 - Manual - 0 views

  • 在 Windows 下安装完 PHP 和 web 服务器之后,可能想要安装一些扩展库来获得更多功能。可以通过修改 php.ini 来选择当 PHP 启动时加载哪些扩展库。也可以在脚本中通过使用 dl() 来动态加载。
    • doingtoing
       
      此扩展库php_mhash.dll与正在研究的mhash0.9.9有什么关系?
  • php_mhash.dllMhash 函数库PHP >= 4.3.0 需要:libmhash.dll(已附带)
doingtoing

Database (dbm-style) Abstraction Layer Functions - 0 views

  • These functions build the foundation for accessing Berkeley DB style databases. This is a general abstraction layer for several file-based databases. As such, functionality is limited to a common subset of features supported by modern databases such as Sleepycat Software's DB2. (This is not to be confused with IBM's DB2 software, which is supported through the ODBC functions.)
  • flatfile This is available since PHP 4.3.0 for compatibility with the deprecated dbm extension only and should be avoided. However you may use this where files were created in this format. That happens when configure could not find any external library.
doingtoing

PHP: Mhash Functions - Manual - 0 views

  • Mhash can be used to create checksums, message digests, message authentication codes, and more.
  • You need to compile PHP with the --with-mhash[=DIR] parameter to enable this extension. DIR is the mhash install directory.
  • 以下常量由本扩展模块定义,因此只有在本扩展模块被编译到 PHP 中,或者在运行时被动态加载后才有效。 Here is a list of hashes which are currently supported by mhash. If a hash is not listed here, but is listed by mhash as supported, you can safely assume that this documentation is outdated. MHASH_ADLER32 MHASH_CRC32 MHASH_CRC32B MHASH_GOST MHASH_HAVAL128 MHASH_HAVAL160 MHASH_HAVAL192 MHASH_HAVAL256 MHASH_MD4 MHASH_MD5 MHASH_RIPEMD160 MHASH_SHA1 MHASH_SHA256 MHASH_TIGER MHASH_TIGER128 MHASH_TIGER160
  •  
    mhash需下载库才能在php中应用。
doingtoing

PHP: Mhash Functions - Manual - 0 views

  • 注意: 本扩展已被移动到 » PECL 库中且自以下版本起不再被绑定到 PHP 中:5.3.0.
    • doingtoing
       
      所以上一页的php_mhash.dll在php5.3.0以上就不可用了。
doingtoing

超越PHP - Exceed PHP: Mhash Functions - Manual - 0 views

  • 安装 You need to compile PHP with the --with-mhash[=DIR] parameter to enable this extension. DIR is the mhash install directory.
doingtoing

超越PHP - Exceed PHP: ArrayObject::__construct - Manual - 0 views

  • ArrayObject::__construct (no version information, might be only in CVS)ArrayObject::__construct --  Construct a new array object Descriptionvoid ArrayObject::__construct ( mixed input) This constructs a new array object. The input parameter accepts an array or another ArrayObject.
doingtoing

SourceForge.net: Files - 0 views

  • Libmhash is a library that provides a uniform interface to several hash algorithms. It supports the basics for message authentication by following rfc2104 (HMAC). It also includes some key generation algorithms which are based on hash algorithms.
doingtoing

mhash library - 0 views

doingtoing

Mhash - 0 views

  • Mhash is a free (under GNU Lesser GPL) library which provides a uniform interface to a large number of hash algorithms.
  • At the time of writing this, the library supports the algorithms: SHA1, SHA160, SHA192, SHA224, SHA384, SHA512, HAVAL128, HAVAL160, HAVAL192, HAVAL224, HAVAL256, RIPEMD128, RIPEMD256, RIPEMD320, MD4, MD5, TIGER, TIGER128, TIGER160, ALDER32, CRC32, CRC32b, WHIRLPOOL, GOST, SNEFRU128, SNEFRU256
  • Mapping these to bitlengths, we can see: AlgorithmOutput Bitlength Name3232b128160192224256320384512 SHA1YYYYY HAVALYYYYY RIPEMDYYY MD2, 4, 5 TIGERYYONL ALDERY CRCYY WHIRLPOOLONL GOSTONL SNEFRUYY Key: Y : The name is suffixed by the bit-length Number : The name is suffixed by this number ONL : There is no suffix I : The hash is not secure at this length X : The hash has been padded and is not as strong as the bit-length suggests
1 - 10 of 10
Showing 20 items per page