"; echo "Usage example: mirrors.php?repo=devel&arch=x86_64"; exit; } foreach ($basedirs as $basedir) { echo $basedir . $repo . "/RPMS." . $arch . "/" . "\n"; } ?>