User Tools

Site Tools


cgi_script_to_print_visitor_ip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cgi_script_to_print_visitor_ip [2011/08/11 19:52] k2patelcgi_script_to_print_visitor_ip [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
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> 
  
-Try it here !! 
- 
-<code bash> 
-curl --insecure https://108.35.33.156:12000/ip/index.cgi 
-</code> 
cgi_script_to_print_visitor_ip.1313092361.txt.gz · Last modified: 2020/08/10 02:28 (external edit)