in reply to Running Perl thru HTML
#!/usr/bin/perl -wT use strict; use CGI; print header(); print <<"ENDHTML"; <html> <head> <title> some page </title> </head> <body> Your IP Adress is $ENV{REMOTE_ADDR} </body> </html> ENDHTML
Take a look at CGI.pm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running Perl thru HTML
by GhostWheel (Initiate) on Mar 14, 2005 at 14:17 UTC | |
by Joost (Canon) on Mar 14, 2005 at 14:24 UTC |