Weblog
This is my log.
Previous Item
Next Item
Today
Archives
02/21: CSVなどファイルの読み込みに使う階層の指定方法
Category:
PHP
| Posted by:
ayumi
dirname(__FILE__)で、そのファイルが存在する場所を取ってきます。
例)サンプル
require_once(dirname(__FILE__)."/config.php");
Comments
No comments yet
Add Comment
コメント:
お名前:
ウェブサイト:
メール:
情報を記憶しておく
Search
Navigation
<
2008-09
>
日
月
火
水
木
金
土
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Previous Item
Next Item
Today
Archives
Categories
All
CSS
Direction
DNS
Editor
General
Memo
Movie
News
Nucleus
PHP
SEO
Server
SQL
Wordpress
ads
Links