Have you tried using a site relative path with a slash in front of it like this:
'UploadFolder' => "/Gallery".$row_getGalleries['gallery_id'] ."/",
You would of course need to ensure that this folder with the gallery id appended exists in the site before you could upload to it. Are the files being uploaded to the root of your site?