This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cgi_script_to_print_visitor_ip [2011/08/11 19:43] k2patel created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <code cgi | index.cgi> | + | |
- | #!/usr/bin/perl -wT | + | |
- | # Ketan Patel | + | |
- | + | ||
- | use strict; | + | |
- | use CGI; | + | |
- | my $q=CGI->new(); | + | |
- | print $q->header().$q->remote_addr()."\n"; | + | |
- | </code> | + |