Manuale PHP
Indietro |  | Avanti

# rpm_open

(no version information, might be only in CVS)

rpm_open -- Opens an RPM file

## Descrizione

resource rpm_open ( string filename )

rpm_open() will open an RPM file and will determine if the file is a valid RPM file.

## Elenco dei parametri

filename

  The filename of the RPM file you wish to open.

## Valori restituiti

If the open succeeds, then rpm_open() will return a file pointer resource to the newly opened file. On error, the function will return `FALSE`.

## Esempi

Esempio 1. rpm_open() example

`<?php $file = "/path/to/file.rpm"; $rpmr = rpm_open($file); rpm_close($rpmr); ?>`

## Vedere anche:

rpm_close()

Indietro | Partenza | Avanti
rpm_is_valid | Risali | runkit Functions