Index: temp/trunk/html/test/uehara/file_view.php
===================================================================
--- temp/trunk/html/test/uehara/file_view.php	(revision 8665)
+++ temp/trunk/html/test/uehara/file_view.php	(revision 8718)
@@ -8,4 +8,16 @@
 require_once("../../require.php");
 
+// Ä¾ÀÜÉ½¼¨¤·¤Ê¤¤¥Õ¥¡¥¤¥ë¤òÄêµÁ
+$arrViewFile = array(
+ 'html',
+ 'htm',
+ 'tpl',
+ 'php',
+);
+
+$arrResult = split('/', $_GET['file']);
+$ext = $arrResult[count($arrResult)];
+
+sfprintr($ext);
 
 // ¥Õ¥¡¥¤¥ëÆâÍÆÉ½¼¨
