<?php
$file = 'data/loads/application.jar';
header('Content-type: text/vnd.sun.j2me.app-descriptor');
header('Content-Disposition: filename=application.jad');
echo file_get_contents('zip://'.dirname(__FILE__).'/'.$file.'#META-INF/MANIFEST.MF')."\n
MIDlet-Jar-Size: ".filesize($file)."\n
MIDlet-Jar-URL: http://".$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']).'/'.$file;
?>
»Скачать в формате .ТХТ»Скачать в формате .ZIP