How to program for the web
Could you recommend me a book or a resource to learn about web programming.

For example creating things like pop ups, sending of information and receival of information like ip, geographical location, iframes, redirects, cookies, autofill, etc. Everything that's possible to do with web programming on a very low level. Server communication with the client. 

I want to be able to create web crawlers and bots that monitor data on the web. Things that could log into websites etc. 

I just have no idea where to start. Any help would be appreciated.
How to program for the web
===

Could you recommend me a book or a resource to learn about web programming.

For example creating things like pop ups, sending of information and receival of information like ip, geographical location, iframes, redirects, cookies, autofill, etc. Everything that's possible to do with web programming on a very low level. Server communication with the client. 

I want to be able to create web crawlers and bots that monitor data on the web. Things that could log into websites etc. 

I just have no idea where to start. Any help would be appreciated.