__DIR__ :指向当前执行的PHP脚本所在的目录
__FILE__ : 指向当前执行的PHP脚本所在的目录+文件名
eg:
<?php echo __DIR__; echo "<br/>"; echo __FILE__; 输出: D:phpstudy_proWWW D:phpstudy_proWWWindex.php