PHP RPM Header Reading Functions
EditRocket provides the following information on RPM Header Reading functions in the PHP source code builder.
bool rpm_close ( resource $rpmr ) - rpm_close() will close an RPM file pointer.
mixed rpm_get_tag ( resource $rpmr , int $tagnum ) - rpm_get_tag() will retrieve a given tag from the RPM file's header and return it.
bool rpm_is_valid ( string $filename ) - rpm_is_valid() will test an RPM file for validity as 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.
string rpm_version ( void ) - rpm_version() will return the current version of the rpmreader extension.