NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > CODE
Reload this Page Sensitive Information from the User in ASP!

CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-10-2003, 11:51 AM THREAD STARTER               #1 (permalink)
NamePros Member
 
Mp)Tarh's Avatar
Join Date: Aug 2003
Location: Ontario, Canada
Posts: 98
Mp)Tarh is an unknown quantity at this point
 



Sensitive Information from the User in ASP!


Ever wanted the User's IP, or other things you shouldn't be looking at?

You've come to the right place!

ASP can find all kinds of secret information from the User, you just need to look at the HTTP headers!

You can insert the following information into any ASP variable:

User's Browser Information:
Request.ServerVariables("http_user_agent")

User's IP:
Request.ServerVariables("remote_addr")

DNS lookup of User's IP:
Request.ServerVariables("remote_host")

Method used to call the page:
Request.ServerVariables("request_method")

The server's Domain Name:
Request.ServerVariables("server_name")

The Server's Port:
Request.ServerVariables("server.port")

The Server's Softwar:
Request.ServerVariables("server_software")

Lots of information you can sneak away from them, huh
????: NamePros.com http://www.namepros.com/code/15116-sensitive-information-from-the-user-asp.html

I attached an ASP File that has code to print out these items, remember that it must be tested online or on a Personal Web Server, you can't just open in Internet Explorer - That just doesn't work

Happy Programming!
__________________
Yeah... I knew that. What?
Mp)Tarh is offline  
Old 04-18-2004, 02:05 PM   #2 (permalink)
NP Maniacâ„¢
 
Phoenix's Avatar
Join Date: Apr 2004
Location: Nottingham, UK
Posts: 820
Phoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to behold
 




Or (just for reference) you can do it in PHP, for an example see this script (made by us): Download!
__________________
PHP/MySQL Development offered: PM me for a quote.
47ideas.com - my freelancing portfolio.
Phoenix is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:05 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger