PHP Dokumentation: Function rpm-open
12. Januar 2010 von werner
rpm_open
(PECL rpmreader >= 0.1.0)
rpm_open — Opens an RPM file
Beschreibung
rpm_open() will open an RPM file and will determine if the file is a valid RPM file.
Parameter-Liste
- filename
The filename of the RPM file you wish to open.
Rückgabewerte
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.
Beispiele
Beispiel #1 rpm_open() example
<?php$file
= "/path/to/file.rpm";
$rpmr = rpm_open($file);rpm_close($rpmr);?>Siehe auch
- rpm_close() – Closes an RPM file