|
Server IP : 10.111.20.6 / Your IP : 216.73.217.121 Web Server : Apache System : Linux webm006.cluster111.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : edizioni ( 7252) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/edizioni/stampaeweb/../.config/../momentiribera/../extonymask/js/../ribera2020/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
function accessi() {
$fp = @fopen("accessi.txt", 'r');
if ($fp) {
$array = explode("\n", fread($fp, filesize("accessi.txt")));
}
fclose($file);
$contents = file('accessi.txt');
$parole = array();
foreach ( $contents as $value ) {
$value = trim($value);
$parole[$value]++;
}
arsort($parole, SORT_NUMERIC);
foreach ( $parole as $key => $val ) {
$j++;
}
return count($parole); // UNICI
}
function testo() {
$filename = 'testo.txt';
$content = file_get_contents($filename);
if (false === $content) {
return "";
}else{
return $content;
}
}
?>