Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : RPM Header Reading Functions : rpm_get_tag

rpm_get_tag

Retrieves a header tag from an RPM file (PECL rpmreader:0.1-0.3)
mixed rpm_get_tag ( resource rpmr, int tagnum )

Example 2072. rpm_get_tag() example

<?php

$file
= "/path/to/file.rpm";
$rpmr = rpm_open($file);

$name = rpm_get_tag($rpmr, RPMREADER_NAME);
echo
"$name<br>\n";

rpm_close($rpmr);

?>

Change Language


Follow Navioo On Twitter
rpm_close
rpm_get_tag
rpm_is_valid
rpm_open
rpm_version
eXTReMe Tracker