PHP dirname() function and Language Notes PHP
The code is as follows: `echo __FILE__; // Retrieves the absolute path of the current file; Output: D:\www\test.php` `echo "<br />";echo dirname(__FILE__); // Retrieves the absolute directory containing the current file; Output: D:\www\` `echo...`