in reply to Using CGI (Perl) and javascript at the same time

Well, this is really a javascript problem, not a perl problem, and my impression is that your javascript skills are not very high. I apologize if I'm wrong and I tell you stuff you already know.

Having said all that, you should realize that your vbscript method will only work if your client is a windows machine. And some users, particularly those hidden behind corporate firewalls might resent your attempts to snoop out their machine name.

Are you sure making a reverse DNS lookup of their IP number wouldn't be good enough for you?

  • Comment on Re: Using CGI (Perl) and javascript at the same time