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


Views: 2855
what is my ip address?

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


Views: 2855
Re: what is my ip address?

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


Views: 2855
Re: what is my ip address?

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.