:: membuat cgi script untuk check ip public
[ linux: ~ ]# cd /var/www/cgi-bin/[ linux: cgi-bin ]# vi ip.plse warnings; p#!/usr/bin/perl use strict; urint "Content-type: text/html\n\n";tle></head><body>"; print "<h1>Your IP:\n $ENV{REMOTE_ADprint "<html><head><title>Your IP</t iDR}</h1>"; print "</body></html>";[ linux: cgi-bin ]# chmod 755 ip.pl
:: testing / check ip public
buka browser anda dan buka url / file yang telah anda buat
http://yourdomain.tld/cgi-bin/ip.pl
mas totox http://www.toxpenguin.com/
Tidak ada komentar:
Posting Komentar