How to paint through a whole mesh while weight painting
Disable the Limit selection to visible option as people suggested you in their comments. Make sure, that the icon is not highlighted.



Also make sure, that you haven't masked some part of your object. Select the whole mesh before painting (A).