I want to find the status of a certain GPIO pin and determine whether it's high or low. I'd then like to output it in someway to a webpage that'd basically be a little circle that changes from green to red when the status is either high or low. Just for some background I'm using the raspberry pi to drive a relay that turns on a light. I have it all working and turning the light on and off, I just want some sort of status light so I can tell if the light is on or off. It's definitely needed in case I accidently turn it on when I'm away from the light and can't tell if it's on or off.
Sorry if it isn't clear, if it's not then I can clearify in future posts or add anymore needed info.