Location: PHPKode > projects > FeedMeLinks, Social BookmarkingSince2002 > feedmelinks.com/testing/forced-download.php
<?php
	# mime-type of file
	header('Content-type: image/jpeg');

	# what we want the file to be called when the user downloads it:
	header('Content-Disposition: attachment; filename="some-download.jpg"');

	# The PDF source is in original.pdf
	readfile('..img/FML-goes-mobile.jpg');
?> 

Return current item: FeedMeLinks, Social BookmarkingSince2002