CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
what is my ip address?

 



csjjpm
Deleted

Oct 17, 2000, 2:36 AM

Post #1 of 3 (1723 views)
what is my ip address? Can't Post

I've seen some websites with what is my ip address?
I'd like to be able to do that. Anyone know some premade code out there? I've searched but failed.


NiGhTsPiRiT
Deleted

Oct 17, 2000, 2:54 AM

Post #2 of 3 (1723 views)
Re: what is my ip address? [In reply to] Can't Post

Does your server support SSI? If so, put the following line in a SHTML file (not in Perl)

<!--#echo var="REMOTE_ADDR"-->

This will show the users IP address


Greetings, NiGhTsPiRiT


csjjpm
Deleted

Oct 17, 2000, 11:56 PM

Post #3 of 3 (1723 views)
Re: what is my ip address? [In reply to] Can't Post

What else do I include in an shtml file for it to run, I'm using Apache on NT. Is there some line to initialise shtml.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives