To Get And Show The Ip Via Javascript

To Get And Show The Ip Via Javascript -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
To Get And Show The Ip Via Javascript To show the ip via JavaScript var ip= '<!--#echo var="REMOTE_ADDR"-->'; document.write("Your IP Address is :"+ip+" "); ________________________________________________________________________________ __________________ To show IP via ASP request.ServerVariables("REMOTE_ADDR")
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ________________________________________________________________________________ __________________ TO SHOW IP VIA PHP &lt;? $remote_address = getenv(&quot;REMOTE_ADDR&quot;); echo &quot;Your IP address is $remote_address.&quot;; $browser_type = getenv(&quot;HTTP_USER_AGENT&quot;); echo &quot;You are using $browser_type.&quot;; ?&gt;...
View Full Document

Ask a homework question - tutors are online