CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



axaflaxar
Novice

Dec 18, 2002, 10:32 AM

Post #1 of 2 (1093 views)
     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

Post #2 of 2 (1089 views)
     Re: [axaflaxar] Error message on Nextel phone bu not on Site. [In reply to]  

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

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives