Getting Site Information

Hello,

Is it possible to check out other sites using PHP? For instance, taking a screen shot of the site… or checking to see if it is still running. Or, if It has certain code on it?

Thanks