View file code.wh0am1.ru/app/load.php

File size: 873B
<?php

	// ---------------------------------------- //
	// ---------------------------------------- //
	// ------- Автор: wh0am1 ------------------ //
	// ------- ICQ: 33232422 ------------------ //
	// ------- Skype: r79954119859 ------------ //
	// ---------------------------------------- //
	// ---------------------------------------- //
	
	if ( ob_get_level ( ) ) {
		ob_end_clean ( ) ;
	}
	
	$file = 'source/' . $key . '.txt';
	
	header('Content-Description: File Transfer');
	header('Content-Type: application/octet-stream');
	header('Content-Disposition: attachment; filename=code.wh0am1.ru_' . $key . '.txt' ) ;
    header('Content-Transfer-Encoding: binary');
	header('Expires: 0');
	header('Cache-Control: must-revalidate');
	header('Pragma: public');
	header('Content-Length: ' . filesize ( $file ) ) ;
	readfile ( $file ) ;
	
?>