Page Goes Infinity!!! on Blog.

Story of your life and others

Ubuntu で Dice で CyberGate を更新

2015年04月08日 21時50分39秒 | diary

ポイントは 「IP検出」と「オフライン」。

checkip.dyndns.org は遅いし、繰り返しも蹴られるので、レンサバにデッドコピーの cgi を設置しました。

これ↓

#!/usr/bin/perl

$ip   = $ENV{'REMOTE_ADDR'};


print "Content-type: text/html\n";
print "\n";
print "<html><head><title>Current IP Check</title></head><body>Current IP Address: ";
print "$ip";
print "</body></html>";

 


最新の画像もっと見る

コメントを投稿