Javascript debugger
Website design
↑
rpm_open() will open an RPM file and will determine if the file is a valid RPM file.
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
.
<?php
$file = "/path/to/file.rpm";
$rpmr = rpm_open($file);
rpm_close($rpmr);
?>
rpm_close() |