|
-
Jun 27th, 2001, 08:01 AM
#7
Frenzied Member
Yes, I would hope that you couldn't get it client-side for the reasons that Josh pointed out. My machines IP address is not its broadcast address. But... try this.
And forgive me, I never use VBScript for client-side scripting, so you will have to translate from JavaScript to VBScript.
Code:
<html>
<head></head>
<body>
<script language='JavaScript'>
var clientIP = <%=Request.ServerVariables("REMOTE_ADDR")%>;
</script>
</body>
</html>
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|