the permissions are ok, if permissions are the problem it gives the 'permission denied' error.
my code looks like this:
$uName = mysql_result($Result);
$aBasePath =
/ this directory works
/nfs/khan/red/aapress/public_html/arm/";
/
//this doesn't
/nfs/garak/disk1/a/authorsacademicpress.com/user/" . $uName . "/";
if (!empty($thefile_name))
{
$aNewName = $aBasePath . $thefile_name/*"file" . $ConCode . ".html"*/;
copy ($thefile, $aNewName);
echo $aNewName;
}
the echo shows the correct path and file name. the server is at our ISP. could it be a problem with their settings? they say it's not.