Home > 6月, 2011

2011.06.06

PHPで同じディレクトリのファイルを一覧表示

ごくまれに、でも時々出番があるのでメモ。

素晴らしき参考元:○LINK:ディレクトリのファイルを一覧表示 - PHP/データベース

http://php.eweb-design.com/0206_di.php

 

 

HTML:
  1. <META http-equiv=Content-Type content="text/html; charset=utf-8">
  2. <TITLE>files</TITLE>
  3.  
  4. <h3>右クリックして保存して下さい</h3>
  5.  
  6. <OL><LI>files<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>map<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>sandbox<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>scripts<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>test<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>upfiles<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>wp-admin<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>wp-content<FONT size='-1'> (ディレクトリ)</FONT></LI><LI>wp-includes<FONT size='-1'> (ディレクトリ)</FONT></LI><LI><a href=.//readme-ja.html>readme-ja.html</a><FONT size='-1'> (05/09, 4KB)</FONT> </LI><LI><a href=.//.htaccess>.htaccess</a><FONT size='-1'> (08/07, 0KB)</FONT> </LI><LI><a href=.//index.php>index.php</a><FONT size='-1'> (05/09, 0KB)</FONT> </LI><LI><a href=.//license.txt>license.txt</a><FONT size='-1'> (05/09, 17KB)</FONT> </LI><LI><a href=.//googlea9e5edf34c31ad67.html>googlea9e5edf34c31ad67.html</a><FONT size='-1'> (04/19, 0KB)</FONT> </LI><LI><a href=.//wp-activate.php>wp-activate.php</a><FONT size='-1'> (05/09, 4KB)</FONT> </LI><LI><a href=.//readme.html>readme.html</a><FONT size='-1'> (05/09, 13KB)</FONT> </LI><LI><a href=.//wp-blog-header.php>wp-blog-header.php</a><FONT size='-1'> (05/09, 0KB)</FONT> </LI><LI><a href=.//wp-app.php>wp-app.php</a><FONT size='-1'> (05/09, 39KB)</FONT> </LI><LI><a href=.//wp-atom.php>wp-atom.php</a><FONT size='-1'> (03/01, 0KB)</FONT> </LI><LI><a href=.//wp-comments-post.php>wp-comments-post.php</a><FONT size='-1'> (05/09, 4KB)</FONT> </LI><LI><a href=.//wp-commentsrss2.php>wp-commentsrss2.php</a><FONT size='-1'> (03/01, 0KB)</FONT> </LI><LI><a href=.//wp-config-sample.php>wp-config-sample.php</a><FONT size='-1'> (05/09, 4KB)</FONT> </LI><LI><a href=.//wp-config.php>wp-config.php</a><FONT size='-1'> (10/26, 4KB)</FONT> </LI><LI><a href=.//wp-cron.php>wp-cron.php</a><FONT size='-1'> (05/09, 3KB)</FONT> </LI><LI><a href=.//wp-feed.php>wp-feed.php</a><FONT size='-1'> (03/01, 0KB)</FONT> </LI><LI><a href=.//wp-links-opml.php>wp-links-opml.php</a><FONT size='-1'> (05/09, 2KB)</FONT> </LI><LI><a href=.//wp-load.php>wp-load.php</a><FONT size='-1'> (05/09, 3KB)</FONT> </LI><LI><a href=.//wp-login.php>wp-login.php</a><FONT size='-1'> (05/09, 27KB)</FONT> </LI><LI><a href=.//wp-mail.php>wp-mail.php</a><FONT size='-1'> (05/09, 8KB)</FONT> </LI><LI><a href=.//wp-pass.php>wp-pass.php</a><FONT size='-1'> (05/09, 0KB)</FONT> </LI><LI><a href=.//wp-rdf.php>wp-rdf.php</a><FONT size='-1'> (03/01, 0KB)</FONT> </LI><LI><a href=.//wp-register.php>wp-register.php</a><FONT size='-1'> (05/09, 0KB)</FONT> </LI><LI><a href=.//wp-rss.php>wp-rss.php</a><FONT size='-1'> (03/01, 0KB)</FONT> </LI><LI><a href=.//wp-rss2.php>wp-rss2.php</a><FONT size='-1'> (03/01, 0KB)</FONT> </LI><LI><a href=.//wp-settings.php>wp-settings.php</a><FONT size='-1'> (05/09, 10KB)</FONT> </LI><LI><a href=.//wp-signup.php>wp-signup.php</a><FONT size='-1'> (05/09, 18KB)</FONT> </LI><LI><a href=.//wp-trackback.php>wp-trackback.php</a><FONT size='-1'> (05/09, 4KB)</FONT> </LI><LI><a href=.//xmlrpc.php>xmlrpc.php</a><FONT size='-1'> (05/09, 3KB)</FONT> </LI></OL>
  7. </BODY>
  8. </HTML>