Re: Assigning variables from an array?

2001-08-15 Thread Curtis Poe
--- Dianne Van Dulken <[EMAIL PROTECTED]> wrote: > I am receiving a lot of values from a form. I want to loop through them and > set new variables, with the same name, to the same value. EG: I want the > param value phone to be set to $phone. > > Sorry if it's too stupid a question, and you all

Re: Re: Beginning CGI

2001-08-15 Thread Mark Bergeron
You can definetly run CGI's on IIS. Check out Active State http://www.activestate.com or Indigo Perl I think it's http://www.indigostar.com/indigoperl.htm GL, Mark -Original Message- From: "Eric Wang"<[EMAIL PROTECTED]> To: "Mark Bergeron"<[EMAIL PROTECTED]> Cc: "kahine Kldon"<[EMAIL PR

Re: Re: CGI on IIS <- bad idea?

2001-08-15 Thread Mark Bergeron
Taint won't run on Win32 anyway. -Original Message- From: "Curtis Poe"<[EMAIL PROTECTED]> To: "CGI Beginners"<[EMAIL PROTECTED]> Date: Tue Aug 14 15:02:40 PDT 2001 Subject: Re: CGI on IIS <- bad idea? >--- Eric Wang <[EMAIL PROTECTED]> wrote: >> Thanks! can you explain what does the tain

Re: Re: CGI on IIS <- bad idea?

2001-08-15 Thread Curtis Poe
--- Mark Bergeron <[EMAIL PROTECTED]> wrote: > Taint won't run on Win32 anyway. Mark, This is actually a common misconception. Taint checking works just fine on Win32 using ActiveState Perl. Try the following from the command line: perl -Te "$x=shift;open TEST, qq/>$x/" test.txt You will

Re: Re: CGI on IIS <- bad idea?

2001-08-15 Thread Eric Wang
So I can actually use a CGI to carry out the perl script in the front end and put the -T inside the cgi right? and the users cannot see which perl script was executed because it's on the server site. Is that right? eric On Wed, 15 Aug 2001, Curtis Poe wrote: > --- Mark Bergeron <[EMAIL PROTECT

Re: Re: CGI on IIS <- bad idea?

2001-08-15 Thread Curtis Poe
--- Eric Wang <[EMAIL PROTECTED]> wrote: > > So I can actually use a CGI to carry out the perl script in the front end > and put the -T inside the cgi right? and the users cannot see which perl > script was executed because it's on the server site. > Is that right? > > eric Eric, You'll have t

RE: cgi and html

2001-08-15 Thread Boex,Matthew W.
i have been looking around a little and found Embperl. i plan to move to mod_perl in the near future but have a bunch of cgi scripts that i want to add html to. i want to break out the html from the cgi. would Embperl be my best choice? is it difficult to handle state info using Embperl or mo

Re: Re: CGI on IIS <- bad idea?

2001-08-15 Thread Mark Bergeron
This could be. When running under #!/usr/bin/perl -wT Too late for -T I'm running 626 on Win2K Pro IIS -Original Message- From: "Curtis Poe"<[EMAIL PROTECTED]> To: "CGI Beginners"<[EMAIL PROTECTED]> Date: Wed Aug 15 09:50:54 PDT 2001 Subject: Re: CGI on IIS <- bad idea? >--- Mark Berg

RE: cgi and html

2001-08-15 Thread Joel Hughes
Max, Embperl wont "break out the html from the cgi" if I'm guessing that you want to seperate the server side code from the html presentation. Embperl is embedded perl in html pages (much like ASP in IIS or PHP). What are your requirements for your project? regards Joel -Original Message-

Re: Re: CGI on IIS <- bad idea?

2001-08-15 Thread Curtis Poe
--- Mark Bergeron <[EMAIL PROTECTED]> wrote: > This could be. When running under > > #!/usr/bin/perl -wT > > Too late for -T > > I'm running 626 on Win2K Pro IIS Mark, If you see my reply to Eric Wang in this thread, I describe how to get around this problem. Basically, what's going on is t

RE: cgi and html

2001-08-15 Thread Boex,Matthew W.
joel, i guess i didn't word that correctly. i have a set of cgi scripts, each of them need to be able to follow state information using hidden tags. i need to add some html design to these cgi's, make them look nicer. i would prefer to edit one file, with html and perl embedded in it, sort of

Strange Behavior?

2001-08-15 Thread James Kelty
Hello! Normally I would like to figure this out on my own, but I am working on the functionality of certain parts of this cgi instead. I am having trouble with the following code bit: #!/usr/bin/perl -w require("header.cgi"); require("footer.cgi"); use strict; use CGI qw/:standard/; my $cgi

RE: cgi and html

2001-08-15 Thread Joel Hughes
Hiya Max, funnily enough I too was looking at Embperl the other day for a project but I wasn't a 100% convinced of it and so decided to stick with CGI and then convert later if I needed. I think Embperl is much happier if running with mod_perl/registry - I think you 'can' run it outside mod_perl