note 17730 deleted from function.dirname by jimw
| From: | jimw@php.net | Date: | Fri, 21 Dec 2001 11:06:36 +0000 |
| Subject: | note 17730 deleted from function.dirname by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23744@lists.php.net to get a copy of this message | ||
If you just want your actual PATH it's good to use this:
<?
$abspath=ereg_replace("\\\\","/",__FILE__);
$abspath = dirname ($abspath);
print "$abspath";
?>
It wonks in UNIX & WIN