fix upload to php server