In Unix the home directory can be referenced with a "~" as in "~/data" might refer to /home/user/data.
How do you get this in windows?
What I'm looking for is something like...
<?
$WinHomeDir=array('2000', 'XP', 'NT');
if (in_array($OS, $WinHomeDir))
{
$homedir="~";
$datadir=$homedir."/datadir";
}
?>