Home
Accueil
Downloads
Téléchargements
Forums
Forums
Your Account
Votre compte
Menu
· Accueil ·

· Communication ·
  · Forums
  · Messages privés
  · Contactez nous
  · Recommendez nous
  · Sondages
  · Les projets

· Nouvelles ·Stats
  · Sujets
  · Ecrire un article
  · Articles archivés
  · Articles RSS
  · Lettre de sécurité
  · Archive de lettres

· Téléchargements ·
  · Accueil
  · Nouveautés
  · Mises à jour
  · Thêmes

· Outils ·
  · Outils divers
  · Convertisseur de temps
  · Table de caractères
  · Générateur de boutons
  · Compresseur Javascript

· Documentation ·
  · Wiki
  · Questions/Réponses
  · Documents
  · Manuel PHP-Nuke
  · Manuel PHP
  · Manuel PEAR
  · Encyclopédies

· Liens ·
  · Nos liens
  · Nos fluxs RSS
  · Partenaires
  · Votre publicité
  · Sitemap
  · Mes bannières

· Infos ·
  · Rechercher
  · Votre compte
  · Liste des membres
  · Carte des membres
  · Top

· Divers ·
  · Météo
  · Galeries
  · Statistiques Phpnuke
  · MS Analysis


hash_file

hash_file

(no version information, might be only in CVS)

hash_file -- Génère une valeur de hachage en utilisant le contenu d'un fichier donné

Description

string hash_file ( string algo, string filename [, bool raw_output] )

Liste de paramètres

algo

Nom de l'algorithme de hachage sélectionné (c'est-à-dire "md5", "sha256", "haval160,4", etc.)

filename

URL indiquant l'emplacement du fichier qui sera haché; Supporte les enveloppes fopen.

raw_output

Lorsqu'il vaut TRUE, la sortie sera des données brutes binaires. Lorsqu'il vaut FALSE, la sortie sera des chiffres hexadécimaux en minuscule. La valeur par défaut est FALSE.

Valeurs de retour

Retourne une chaîne de caractères contenant l'empreinte numérique calculée en chiffre hexadécimal minuscule à moins que raw_output soit fixé à TRUE. Dans ce cas, la représentation brute binaire de l'empreinte numérique est retournée.

Exemples

Exemple 1. Exemple avec hash_file()

<?php
/* Crée un fichier pour calculer son empreinte numérique */
file_put_contents('exemple.txt', 'Le rapide goupil brun sauta par dessus le chien paresseux.');

echo
hash_file('md5', 'exemple.txt');
?>

L'exemple ci-dessus va afficher :

2dfe052a8caca3db869ede6ae544cd5d


Manuel PHP pour PHP-Nuke © www.stefvar.com

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355
Syndiquez notre contenu RSS, Atom, etc..
PHP-Nuke © 2007Reproduction interdite sans autorisation de ma part www.stefvar.com Copyright © 2008Thème iCGstation
Site français de la communauté PragmaMx