A better bet is to use a thicker piece of wood as a brace at each corner, and screw the planks to that.
Pallets are constructed with a couple of nice thick ribs down their middles which are ideal for this.