Cloud Nine

Avatar

This blog is my everything!!

Feb
21
CSVなどファイルの読み込みに使う階層の指定方法
Feb 21, 2008

dirname(__FILE__)で、そのファイルが存在する場所を取ってきます。

例)サンプル

require_once(dirname(__FILE__)."/config.php");

No Comments, Comment or Ping

Reply to “CSVなどファイルの読み込みに使う階層の指定方法”

Advertisings

Search Keyword

Calendar

2008年 November
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

Status

フィードメーター - Cloud  Nine あわせて読みたいブログパーツ