Actually, I was talking about an I identifier that would work on connections other than just Dial-up. I know for a fact this is possible, because I've seen source code for it in other programming languages that check if all types of connections are connected to the internet. The code you posted is just limited to Dial-up connections, so it would be useless to non Dial-up users. And just because someone is using broadband doesn't always mean they are connected to the internet. Their ISP could be experiencing problems, so the user would not be connected to the internet. This is where the $isconn identifier comes in handy.