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

REMOTE_HOST/REMOTE_ADDRESS aren't giving you the requesting machine? $ENV{REMOTE_ADDRESS} should be giving you what you want. $ENV{REMOTE_HOST} should contain the resolved DNS for REMOTE_ADDRESS if your webserver is setup to do reverse resolving. If it isn't being set Net::DNS or gethostbyaddr can get you the resolution manually.
  • Comment on Re: Using CGI (Perl) and javascript at the same time