har börjat latcha lite med lite olika koder o börjar få det att fungera ;) så här ser det ut för tillfället<br /><br />[code]<br />&lt;?php<br />&nbsp; &nbsp; $fp = @fsockopen(&quot;addressellerip&quot;, port,$errno,$errstr,0.5);<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!$fp) {<br />			echo &quot;Shades Server is &quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;DOWN&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; } else {<br />			echo &quot;Shades Server is &quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;Up&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; unset($fp);<br />?&gt;<br />[/code]