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

2009年 January
« Dec    
 1234
567891011
12131415161718
19202122232425
262728293031  

Status

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