Ok, all I want to do is use PHP or ASP or XML or whatever to find out if my IP is connected to the internet.

If i am connected, i want PHP to return "online" for flash to retrieve.

if i am not, "offline"

i have heard of PING but I don't know how to use ti so if somebody could help me with the PHP code it would be awesome
thanx
julian