Have you tried to print the $domainName variable to debug it?
try: print("$domainName");
and see what happens.
If that does work, you could try something really simple such as:
$vhostDataDir = "/home/uidzer0/public_html/experimental/phpAdminzOr/home/" . $domanName;
See if that gets you what you are looking for.
-- Jason