Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2000
Posts: 6
Member
Member
Offline
Joined: May 2000
Posts: 6
http://www.luc.edu:81/mod-bin/showip


Preferably freeware, thanks!

Sponsored Links
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
Depending on your exact needs, it could be something as simple as:

#!/usr/bin/perl
print "Content-type: text/htmlnn";

print "Your IP Address is $ENV{'HTTP_ADDR'}
n";
print "Your client is $ENV{'HTTP_USER_AGENT'}
n";

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
Joined: May 2000
Posts: 6
Member
Member
Offline
Joined: May 2000
Posts: 6
What Im trying to do is incorporate the results into an html page, I heard something about a script like this, and then you would call it with ssi.....is that possible?
I have been to at least 50 cgi script sites looking for this, the only one I found was 50 bucks...please...I guess Im just a cheap ******* .

thanks for the reply!

Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
The above will work via ssi

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
Joined: May 2000
Posts: 6
Member
Member
Offline
Joined: May 2000
Posts: 6
Thank you very much for your time sir!

Sponsored Links
Joined: Sep 2000
Posts: 18
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 18
I think I saw some simple doo-dahs for that purpose over at www.HotScripts.com if you want to do a little hunting for something already in the can...

------------------
etLux
CodeBrain.com Free Java

Joined: May 2000
Posts: 6
Member
Member
Offline
Joined: May 2000
Posts: 6
Hey Mark, threw this up to give a test, it shows user agent fine, but the ip does not display...for me anyway....
http://www.anonymize.f2s.com/ip.cgi

Joined: May 2000
Posts: 6
Member
Member
Offline
Joined: May 2000
Posts: 6
Hey mark, got it figured out...Did a little homework and replaced 'HTTP_ADDR' with 'REMOTE_ADDR'...Thank you very much for your help. All in all I actually learned something.....cant beat that. Hey etLux thanks to you also.. that is a great site that I had never seen...got some good sh*t there.

Thanks!

Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
Oops, did I typo?

[Linked Image]

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
Joined: Sep 2000
Posts: 138
Em8 Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 138
I usead it via SSI here , on the bottom of the page.

------------------
My place! laugh

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)