Thanks, that put me in the right direction. It wasn't working exactly with this:
$name = basename($fd);
$loc = dirname($fd);
$path = $_SERVER['DOCUMENT_ROOT'] . $loc . "/" . $name;
So I made these changes where I sent $fn = filename and $fd = directory path where the file is stored. This made it work perfect.
$name = "$fn";
$loc = "$fd";
$path = $loc . "/" . $name;
Thanks Drew!!! Your a lifesaver.