in reply to Using CGI (Perl) and javascript at the same time
If you don't have samba installed, you are probably out of luck. You could try a search for SMB networking for the server OS you are running. If you are running the script on a windows machine, you'll have to figure that command out for yourself. It probably has to do with 'net' or something...# Environment variables aren't particularly safe. # Make sure you clean the address first $address = $ENV{REMOTE_ADDRESS}; $name = `nmblookup -A $address`; # parse $name for the information you actually want. # nmblookup returns a lot more information than just name
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using CGI (Perl) and javascript at the same time
by tachyon (Chancellor) on Apr 07, 2004 at 03:21 UTC | |
|
Re: Re: Using CGI (Perl) and javascript at the same time
by bigmacbear (Monk) on Apr 08, 2004 at 19:21 UTC |