PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Rar::getName> <Rar::getHostOs
Last updated: Fri, 14 Nov 2008

view this page in

Rar::getMethod

(No version information available, might be only in CVS)

Rar::getMethodLit la méthode de compression d'un élément d'archive Rar

Description

Rar
int getMethod ( void )

Rar::getMethod() retourne un nombre représentant la méthode utilisée lors de la compression Rar de l'élément d'archive courant.

Valeurs de retour

Retourne la méthode utilisée, ou FALSE si une erreur survient.

Exemples

Exemple #1 Exemple avec Rar::getMethod()

<?php

$rar_file 
rar_open('example.rar') or die("Impossible d'ouvrir l'archive Rar");

$entry rar_entry_get($rar_file'Dir/file.txt') or die("Impossible de trouver cet élément");

echo 
"Numéro de la méthode : " $entry->getMethod();

?>



add a note add a note User Contributed Notes
Rar::getMethod
There are no user contributed notes for this page.

Rar::getName> <Rar::getHostOs
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites