php man page for rpm_open

Query: rpm_open

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RPM_OPEN(3)								 1							       RPM_OPEN(3)

rpm_open - Opens an RPM file

SYNOPSIS
resource rpm_open (string $filename)
DESCRIPTION
rpm_open(3) will open an RPM file and will determine if the file is a valid RPM file.
PARAMETERS
o $filename - The filename of the RPM file you wish to open.
RETURN VALUES
If the open succeeds, then rpm_open(3) will return a file pointer resource to the newly opened file. On error, the function will return FALSE.
EXAMPLES
Example #1 rpm_open(3) example <?php $file = "/path/to/file.rpm"; $rpmr = rpm_open($file); rpm_close($rpmr); ?>
SEE ALSO
rpm_close(3). PHP Documentation Group RPM_OPEN(3)
Related Man Pages
pmdarpm(1) - centos
php_check_syntax(3) - php
imagecreatefromwbmp(3) - php
fwrite(3) - php
ibase_blob_import(3) - php
Similar Topics in the Unix Linux Community
SSH on AIX
Problems installing SSH on AIX 5.2
insmod: Invalid module format error
To delete the common parts (version and suffix) to get the package name