Forum Moderators: DixonJones

Message Too Old, No Replies

IP Capture

         

charlie126

11:34 pm on May 19, 2004 (gmt 0)

10+ Year Member



Hello,

I am using frontpage2003 to build a website. Is it possible to capture the user IP address, browser, image support formats on the site.

I have seen this on other sites and would like to have it on mine.

Please help

charlie

jatar_k

8:35 pm on May 20, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld charlie126,

I know there are ways to do this with various scripting languages (php,perl,asp etc) but I am unsure as to whether it can be done specifically with frontpage.

would doing it in some scripting language be an option?

digitalv

8:38 pm on May 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you using a Windows server? (I hope so since you're using FrontPage) ...

Make your web page an ASP file and use this code will show you the IP:

request.servervariables("REMOTE_ADDR")

If you want to display the IP on a web page, you would use <%=request.servervariables("REMOTE_ADDR")%> wherever you want the IP to be visible.

bhartzer

8:43 pm on May 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you want to capture the info and re-populate it on a web page or do you just want to capture the data for your own analysis?

If it's for your own analysis, then you need to turn these features on so that they are captured in the server's log files.

charlie126

6:08 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



Thanks guys for all your replies. I fixed it!

Setup a windows server…and all working fine now.

:)