This repository has been archived on 2024-12-02. You can view files and clone it, but cannot push or open issues or pull requests.
AbetoArmarios_Web/Source/www/start/include.inc.php

45 lines
416 B
PHP

<?php
$url = "http://localhost/";
function getrand($max) {
srand ((double)microtime()*1000000);
$randval = rand();
$aa = rand(1,$max);
return $aa;
}
function getcnt($url) {
ini_set("allow_url_fopen", "1");
$fp = fopen($url,"r");
while(!feof($fp)){ $str.= fgets($fp,500); }
fclose($fp);
$t = explode("momentan",$str);
$s = explode("Einträge",$t[1]);
return trim(strip_tags($s[0]));
}
?>