running cgi in NT

Bobby Kleemann rkleeman at neta.com
Mon Feb 5 20:27:02 CST 2001


~sdpm~
On Mon, 5 Feb 2001, Florez, Nestor wrote:

> ~sdpm~
> OK guys,
> 
> I have not done a cgi in a long time and never on a pc.  I am trying to
> display the environment variables in a web page, but everytime I run it, NT
> ask me to save it or run it.  I say run it and it opens a separate window
> and it runs it.
> 
> I am using apache server.   Has anyone ran into this problem before?

;-) Install Linux.  j/k.

I don't run NT so I can't answer this, other than to say check the docs on
the Apache website.  Hopefully someone else will have a better answer.

> Ps. if youhave a small perl program that display the $ENV(environment
> variable) I would appreciated.

use CGI;
use Data::Dumper;

print CGI::header('text/plain'), Data::Dumper::Dumper(\%ENV);

 _ _ _
 Bobby Kleemann <rkleeman at neta.com>
     http://www.neta.com/~rkleeman/


~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list