Replaced base path input name in all samples. Updated sample 1 according to PHP sample 1