A priori estimates for some elliptic equations involving the $p$-laplacian