On a Dirichlet problem with p(x)-Laplacian