Home: Perl Programming Help: Advanced:
Error message on Nextel phone bu not on Site.



axaflaxar
Novice

Dec 18, 2002, 10:32 AM


Views: 1918
     Error message on Nextel phone bu not on Site.

Hello,

I am by no means advanced but I need help

I am trying to get my forms which are a password page to run on my co.s Nextel Phones. When I try to enter the password over the phone which is web enabled I will get the following error when I enter the CORRECT password:

Error 405 HTTP ERROR. Method not allowed. Method in request line is not allowed for resource ID'ed by the request. Ensure proper MIME typeset for requested resource. Contact Server Administrator.

When I enter the wrong password perl script will run the way it is suppose to.

When I try to view a text file over my Nextel the perl script is processed.

I believe there is a problem with the Redirect portion of the Perl script because I get the same error when I send an order over the Nextel. The order form is suppose to Redirect the user back to the main page on submission of the order. However, the order is sent to my perl script, processed, and written to the text file the way it is supposed to

Here is my problemed Perl script. Can anyone lend a hand?

#!/usr/bin/perl
use CGI qw(:standard);
$password=param('nuts');
printheader;
if ($password eq 'nuts')
{
print redirect("http://www.chemtroninc.com/OFFICEINDEX.HTML");

}else{
print"Sorry, wrong password";
print br,"You entered $password";
print br,"Try again by using the link below.";
}


Paul
Enthusiast

Dec 18, 2002, 4:38 PM


Views: 1914
     Re: [axaflaxar] Error message on Nextel phone bu not on Site.

Ugh, please don't post the same question more than once.