<?php $yahoo = new checkYahoo('my_account'); echo ($yahoo->isOnline())? 'Up' : 'down'; ?>
info at phpclasses dot org