I want to move the file from the temp php directory to a permanent directory and rename it back to the user's filename.
this requires renaming from
$userfile to $userfile_name
it works great if the file is uploaded from a pc or linux. but on a mac $userfile_name is the full path on the mac. I want to strip that stuff out, and am wondering why it is there at all.