This is of course my first post here. This looks like a great place to hang out while coding, so I hope someone can help me. I'm currently custominzing a CGI web interface for a Remote Control utility here at work. The last thing I need to do is pull in the computername of the machine running the web interface session. I've been unable to find a javascript that can do it, so I was wondering if I could kick off a perl script locally on the computers hard drive and read in a file that already houses the name. Anyhelp would be greatly appreciated.
Originally posted by mrbandit This is of course my first post here. This looks like a great place to hang out while coding, so I hope someone can help me. I'm currently custominzing a CGI web interface for a Remote Control utility here at work. The last thing I need to do is pull in the computername of the machine running the web interface session. I've been unable to find a javascript that can do it, so I was wondering if I could kick off a perl script locally on the computers hard drive and read in a file that already houses the name. Anyhelp would be greatly appreciated.
The interface is running on an AIX 4.3.3 box.
Are you trying to figure out the name of the server that is holding/storing this panel or the computer name of the person browsing/navigating to it?
If you are trying to get the browsing user's computer name, then no, you can't run a perl script physically on their computer without them downloading/authorizing the script first.
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
Originally posted by mrbandit That's kind of what I thought
Well, then is there way for me to do the following:
If c:\...\rc.exe is exists
create link pointing at rc.exe
else
create link pointing to a default link
endif
Thanks in advance!
No, you can't gain access to a user's computer with server-side languages. You will need to create a signed java applet or activex component to do this VIA a web browser.
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
This is of course my first post here. This looks like a great place to hang out while coding, so I hope someone can help me. I'm currently custominzing a CGI web interface for a Remote Control utility here at work. The last thing I need to do is pull in the computername of the machine running the web interface session. I've been unable to find a javascript that can do it, so I was wondering if I could kick off a perl script locally on the computers hard drive and read in a file that already houses the name. Anyhelp would be greatly appreciated.
The interface is running on an AIX 4.3.3 box.
You can only obtain this if their end offers that $env field.