Hello I'm trying to execute a system command from within my cgi script and use the program's output. More specifically, I'm trying to convert 2 UTM coordinate pairs to geographic coordinates using proj4. I've developed a perl script that does this effectively from the command line, but I cannot transfer the code to run within the cgi script.
In order for the perl script to function, I had to set an environment variable: set proj_lib=<path> >From what I can tell, the cgi does not recognize this environment variable and therefore cannot run the proj command. I'm very new to all of this so it may be that I'm missing something very obvious, but it obviously ain't obvious to me. On another note, I'm using a backticks operator which I understand is frowned upon for security reasons in cgi -- are there other options? Also, I'm using an Apache Server and Windows 2000 if that makes any difference. Any input would be greatly appreciated. Thanks, Ted Quinby Note: Please cc any replies to this message to [EMAIL PROTECTED] Tom McClintock LICGF Training Manager 550 Babcock Dr B102 Madison, Wi 53706 608 263-5534 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]