This may be a little off topic, but I hope someone can help me.

I set up this cgi file and html form on a Unix server. All functions of
the form and file worked correctly
on a Unix Server. However, I need to move these files to an IIS server.
In testing on the IIS server,  I get an HTTP Error 405- Method not
allowed when the form is submitted. 

I did some research, but was unable to determine which setting needs to
be changed on ISS to allow the post method. 

If anyone could help me out, I'd really appreciate it.

Thanks, Maureen
--- Begin Message ---
--- maureen <[EMAIL PROTECTED]> wrote:
> 
> Hello! In the following code verifies a password, passed from an html
> page:
> 
> #check for proper password  
> if ($in{'password'} ne "test")  
> { 
> 
> I would like to change this so, the code looks at a text file of
> usernames and passwords, instead of the hardcoded password "test". The
> text file currently exists and is formatted like this:
> 
> bob|jane
> Jessica|732
> Mike|Chevy
> 
> 
> I'd appreciate any suggestions as to the best way to approach this.
> 
> Thanks, Maureen

Maureen,

What a coincidence.  Yesterday, I posted the next lesson in my online CGI course and 
it covers
this very topic.  
http://www.easystreet.com/~ovid/cgi_course/lesson_four/lesson_four_2.html

I still need to do a little work on it as some of the terminology isn't exact, but 
this should
give you a good starting point.

Cheers,
Curtis "Ovid" Poe

=====
"Ovid" on http://www.perlmonks.org/
Someone asked me how to count to 10 in Perl:
push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//;
shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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



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

Reply via email to