Hi.

Im not totaly new to programming in general. I am fairly new to PERL though.
I have used PERL to do many useful things on my RH system, but I have never
done anything on the web. I have my own website *under construction* which I
am writing in PERL. I was using ColdFusion, but my host doesnt support it as
of right now.

The problem I am having is this: When I pass a parameter via a URL, my
script isnt picking it up, and my if statement is working.

Here is the basic idea behind my script (all PERL standards are followed on
my host. The only things I cant do it fork and accept incomming
connections.):

http://www.blah.com/cgi-bin/index.cgi?login=yes (DONT go here, example only)

#!/usr/bin/perl

[ output HTML headers and top of page here ]

if (login eq 'yes') {
    [ output login form here ]
}

[ output bottom of page here ]

When I pass the variable in the URL like this, the if statement doesnt
trigger. However, when I run this on my RH box as a script, it will parse
the variable just fine and output the correct HTML to my console.

Any ideas on what the heck I am doing wrong?


--
www.vadtec.net
[EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to