¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ¥Ð¥Ã¥¯¥¢¥Ã¥× źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS

PHP/¥µ¥ó¥×¥ë/²èÁü½ÐÎÏ

Last-modified: 2018-11-14 (¿å) 15:23:57 (2214d)
Top / PHP / ¥µ¥ó¥×¥ë / ²èÁü½ÐÎÏ

PHP
PHP/¥µ¥ó¥×¥ë

²èÁü¥Õ¥¡¥¤¥ë¤ò¥Ö¥é¥¦¥¶¤ËÊÖ¤¹¥µ¥ó¥×¥ë¡£

	$filename = "sample.jpg";
	header("Content-type: image/jpeg");
	header("Content-Length: " . filesize($filename));
	$fp = fopen($filename, "rb") or die();
	print fread($fp, filesize($filename));
	fclose($fp);