If you have XP Pro this shouldn't be a problem. Go to add/remove programs in control panel, click add/remove windows components. Put a check in the box beside Internet Information Services (IIS). It'll ask for your windows cd and install your web server. Next close that and go back to control panel. Go to administrative tools and then Internet Information Services. Click on your computer name, and then right click on default web site and choose properties. Go to the Documents tab. Click the add button and type in "index.html" without the quotes. Click ok and use the arrow buttons on the side of the list to move index.html to the top. Click ok and close the Internet Information Services window.
Now you have your web server set up
To have your webcam take the pictures automaticly, download
TimerShot .
Install that, and open it. You may also want to create a shortcut to it in the start menu\programs\startup menu so it starts with windows. Once you get it open, click the arrow button at the bottom right corner. Change My Pic.jpg to mypic.jpg and the location to "C:\Inetpub\wwwroot" (no quotes). You can change however often you want it to take the pictures, just make sure you DON'T check the box that says "save a new copy every time a picture is taken"
Now close timershot, it should remain running in the system tray (down by the clock) Now open up notepad, and paste this text into it:
[HTML]<html>
<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="REFRESH" CONTENT="10">
</head>
<body>
<h2>Overlord's Webcam!</h2>
<img src="mypic.jpg" />
</body>
</html>[/HTML]
If you want to change the interval the page refreshes at, change the <META HTTP-EQUIV="REFRESH" CONTENT="10"> line. Change the 10 to however many seconds you want it to be.
Save this as "C:\Inetpub\wwwroot\index.html" (no quotes). Now if you've done everything correctly you should be able to pull up your web browser, and type in
http://localhost/ and see your webcam page.
If you tell me what kind of router you have I can tell you how to set up port forwarding and dynamic dns so you can have something like
http://overlord.dyndns.org/ that everyone can see.