Spoiler: zobrazit
Kód: Vybrat vše
Class check{
public function check(){
$this->d = $URL = New URL();
$ex = explode("/", $this->d->URL());
$s = $ex[0]."//".$ex[2]."/";
$minecraftSocket = fopen("http://filfar.eu/scripts/webshops.php?ws=".$s, "rb");
$minecraftOutput = '';
while (!feof($minecraftSocket)) {
$minecraftOutput .= fgets($minecraftSocket, 128);
}
fclose($minecraftSocket);
if ($minecraftOutput != "yes") { echo $minecraftOutput; }