Portál AbcLinuxu, 30. dubna 2025 16:05
Tiskni
Sdílej:
<?php $host=$_REQUEST['host']; $action=$_REQUEST['action']; $ip=$_SERVER[REMOTE_ADDR]; if ($action == "showip" or $action == "") { echo "IP: $ip"; } else { $ipfile="./$host.ip"; if ("$action" == "get" && file_exists($ipfile)) { $host_ip=file_get_contents($ipfile); echo "$host_ip"; } if ("$action" == "set" && "$host" <> "" ) { if (file_exists($ipfile)) { $host_ip=file_get_contents($ipfile); } else { $host_ip="0.0.0.0";} if ("$ip" == "$host_ip") { echo "Update not needed."; } else { file_put_contents($ipfile, $ip); echo "IP adress updated to $ip"; } } } ?>
rozumnou alternativu jsem nenašel.Fakt? https://dns.he.net/
DNSdynamic will always be absolutely free.?
https://www.dnsdynamic.org/?Jo. Dokud to nezavřouDNSdynamic will always be absolutely free.?
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.