Now I have all the directories and I am retrieving a list of inactive people from my database and I am trying to check if a directory with thier name+id exsists, but I am having troubles, here is how I am trying it
Code: Select all
$checkDir = "e;/home/xyz/mail/xyzmail.com/"e;.$inactiveї"e;firstName"e;].$inactiveї"e;id"e;];
if(is_dir($checkDir))
{
printf("e;<tr><td>%s %s</td><td>%s</td><td>%s</td><td>%s%s</td></tr>"e;,
$inactiveї"e;firstName"e;], $inactiveї"e;lastName"e;], $inactiveї"e;plsid"e;], $inactiveї"e;emailAddress"e;],
$inactiveї"e;firstName"e;], $inactiveї"e;id"e;]);
}Code: Select all
echo is_dir('$checkDir');Code: Select all
echo is_dir('/home/xyz/mail/xyzmail.com/john105');Thanks if you can offer any help!