what is this: dirname(__FILE__)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't recognize this something(__SOMETHING__) format. I know what it's
doing but I don't know how it's doing it.

The whole thing is "$fdf_dir=dirname(__FILE__).'/results';" and of course
it's setting that var $fdf_dir to the path to a file.

Is there something significant about the double underscores "__"?

Why the parentheses, it's not a function?

Sorry lame question but I don't know this.

Thanks 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux