checking the availability of services (HTTP/MYSQL/etc.)
<p>I want to create a script, which will be checking status of HTTP/MySQL/SHH etc. services. Most likely i use fsockopen function, but maybe is different and better function or  outside the class.</p>
