Jump to content
Shoqxor

Eine frage zum html code

Recommended Posts

hallo wollte fragen ob mir jemand den code / script geben könnte für HTML um dort eine user online anzeige reinzuhauen währe nett. Danke

Link to comment
Share on other sites

Hey /ok

--- --- --- Serverstatus (Funktion) --- --- ---

<?php

function status($ip, $port) {

$status = @fsockopen($ip, $port, $errno, $errstr, 1);

if($status){

echo'ON';

}else{

echo 'OFF';

}

}

?>

--- --- --- --- --- ---

Die funktion eifnach i-wo einbauen, wo sie abgerufen werden kann (Wenn du hilfe brauchs schreib mich einfach an ;) )

<?php

status("123.456.789.0.","9100");

?>

Ich hoff ma das erklärt soch von selbst.

--- --- --- User Online --- --- ---

***

--- --- --- --- --- ---

Mir is grad eingefallen, dass das man das alles biss ausbauen kann.

Ich erstell mal nen neuen Thread wo ich paar Codes rein stell...

Könn dann ja alle verbessern.

... Alex

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.