arduino and enc28j60

hello. i have an arduino and a enc28j60 module.
i would like to create a web server and i read the input from arduino. can you give an example but with digital input, no analog input

hello. i have an arduino and a enc28j60 module.
i would like to create a web server and i read the input from arduino. can you give an example but with digital input, no analog input

How does this relate to Storage?

The analog input example can easily be changed to use digitalRead(), instead of analogRead(), if you change the pin numbers appropriately.

can i put in the arduino jpg photo,
when digitalRead= HIGH on =true
off= false
when digitalRead=LOW off=true
on=true
?

can i put in the arduino jpg photo,
when digitalRead= HIGH on =true
off= false
when digitalRead=LOW off=true
on=true
?

What Arduino jpg photo?

I suspect that you want if, not when, in the rest of the pseudo-code. Some elses, too.

photo example http://www.clker.com/cliparts/3/e/7/1/119709197585381818TzeenieWheenie_Power_On_Off_Switch_red_2.svg.med.png
can i put this photo in my code

can i put this photo in my code

No. You can have your server serve up that picture (not all that easy to do) or you can have your server simply embed that image link in the page that it returns, and the browser will go fetch the picture from that location.

Finding a similar picture, in a different color perhaps, and having one represent on and the other represent off would be better.