I’m creating a small web spider in PHP that will read some RSS feeds for a client. It got me wondering a lot of things about what a spider does and how it reveals itself to a webserver. For instance when I view my connection logs on my server I sometimes see things like “bing-bot”, “google-bot” etc and I was curious, how do they reveal their crawling sessions like this? Would it be possible for me to set up something like that in PHP?