PHP 手册
上一页 |  | 下一页

# rpm_open

(no version information, might be only in CVS)

rpm_open -- Opens an RPM file

## 说明

resource rpm_open ( string filename )

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

## 参数

`filename`

  The filename of the RPM file you wish to open.

## 返回值

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`.

## 范例

例 1. rpm_open() example

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

## 参见

rpm_close()

上一页 | 起始页 | 下一页
rpm_is_valid | 上一级 | rpm_version