handle upload_file after click pg buttons.
stripslashes for row method