PHP

PHP jest obiektowym, skryptowym jezykiem programowania zaprojektowanym do tworzenia dynamicznych stron www.


Funkcje PHP

Oficjalna strona PHP

Dodatkowe aplikacje PHP

Dodatkowe modu³y PHP

Wortal PHP
alaskan malamute - Zimne ogniwo paliwowe - koparka - słowa piosenek - produkty-zywieniowe - Noclegi



Recursively copying or moving files with PHP
Recursively copying or moving files with PHP

ENCRYPT_DECRYPT_64 - A new version of ENCRYPT_DECRYPT without a known key with 2 added functions ENCODE and DECODE to ASCII characters between 32 and 127 codes.
ENCRYPT_DECRYPT_64 - A new version of ENCRYPT_DECRYPT without a known key with 2 added functions ENCODE and DECODE to ASCII characters between 32 and 127 codes.

PHP code for a directory treeview with DTREE free JavaScript TREE utility
PHP code for a directory treeview with DTREE free JavaScript TREE utility

Check if a file exists on a remote FTP server with PHP
Check if a file exists on a remote FTP server with PHP

PHP Script to find url links in a page
PHP Script to find url links in a page

PHP function for displaying relative dates in a human readable format
PHP function for displaying relative dates in a human readable format

Regex class - Provides a set of static methods to test users inputs, $_POSTs and $_GETs
Regex class - Provides a set of static methods to test users inputs, $_POSTs and $_GETs

PackageX - The Package class can be useful both for the management of large and small project by allowing to import classes in your PHP file using a Java-Like syntax.
PackageX - The Package class can be useful both for the management of large and small project by allowing to import classes in your PHP file using a Java-Like syntax.

A PHP function to encrypt and decrypt a number or string or a combination of the two.
A PHP function to encrypt and decrypt a number or string or a combination of the two.

Get your browser details using javascript
Get your browser details using javascript
Mhash Functions

LXXXV. Mhash Functions

Wstęp

These functions are intended to work with mhash. Mhash can be used to create checksums, message digests, message authentication codes, and more.

This is an interface to the mhash library. mhash supports a wide variety of hash algorithms such as MD5, SHA1, GOST, and many others. For a complete list of supported hashes, refer to the documentation of mhash. The general rule is that you can access the hash algorithm from PHP with MHASH_HASHNAME. For example, to access TIGER you use the PHP constant MHASH_TIGER.

Notatka: To rozszerzenie zostało przeniesione do repozytorium PECL i nie jest rozprowadzane z PHP od wersji 5.3.0.

Wymagania

To use it, download the mhash distribution from its web site and follow the included installation instructions.

Instalacja

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

Konfiguracja uruchomieniowa

To rozszerzenie nie definiuje posiada żadnych dyrektyw konfiguracyjnych w pliku php.ini.

Typy zasobów

To rozszerzenie nie posiada żadnych rodzajów zasobów.

Stałe predefiniowane

Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane do PHP, lub załadowane dynamicznie przy starcie.

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

Przykłady

Przykład 1. Compute the MD5 digest and hmac and print it out as hex

<?php
$input
= "what do ya want for nothing?";
$hash = mhash(MHASH_MD5, $input);
echo
"The hash is " . bin2hex($hash) . "<br />\n";
$hash = mhash(MHASH_MD5, $input, "Jefe");
echo
"The hmac is " . bin2hex($hash) . "<br />\n";
?>

This will produce:
The hash is d03cb659cbf9192dcd066272249f8412 
The hmac is 750c783e6ab0b503eaa86e310a5db738

Spis treści
mhash_count -- Get the highest available hash id
mhash_get_block_size -- Get the block size of the specified hash
mhash_get_hash_name -- Get the name of the specified hash
mhash_keygen_s2k -- Generates a key
mhash -- Compute hash
galerie - darmowe zdjęcia - własna galeria - najlepszy tani hosting stron www - Popularne sklepy internetowe warszawa czekamy na ciebie. - Flota zarządzanie flotą Katowice - gadu-gadu opisy - pozycjonowanie i optymalizacja - Pozycjonowanie stron - aliasy aliasy aliasy - własne forum - Programy - zdjęcia turystyczne - zdjęcia z gier - smieszne filmy

G:10,M:0,Y:10