You need some webcam software that can take pictures at regular intervals (this is presuming that you don't want streaming video) , then it must be able to automatically upload to your webserver. Then create a page that refreshes at regular intervals to get the latest picture.
If you run on XP, I think that the software I use is webcamXP. You can find out more here .
Hope that helps.
Br
Jamie