Re[2]: [PHP] Netscape and post

From: Date: Sat, 05 May 2001 06:24:34 +0000
Subject: Re[2]: [PHP] Netscape and post
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-51508@lists.php.net to get a copy of this message
Hello Chris, Friday, May 04, 2001, 10:40:12 PM, you wrote: Chris> On 4 May 2001 21:48:46 -0700, Richard Kurth <rkurth@pacifier.com> wrote: >> I am having problems with Netscape and post in a form >> In I.E. post works fine but in netscape it just gives me a >> Method Not Allowed >> The requested method POST is not allowed for the URL /scripts/index.html. >> >><form method="post" action=""> >> >> Why is this doing this. Sometimes I just hate Netscape Chris> Presumably because the action attribute needs to have a value. Since your HTML Chris> is broken, Netscape is creatively misinterpreting it, as it is wont to do. I probably better explain myself better this is a small sample of the form. The action is set at the bottom of the form <?php if (! (isset($action))) { ?> <form method="post" action=""> <input type="hidden" name="plans" value="<?echo $plans?>" <input type="text" name="domainname" size="20"> <input type="text" name="ext" size="5" maxlength="5"> etc.... a whole bunch more then at the end <input type="hidden" name="action" value="check"> <-- Action is set hear <input type="reset" name="Button" value="Reset"> <input type="submit" name="Okay" value="Order Now!"> <?php } if ($action == 'check') { ?> Then it does a bunch of error checking in php code This works just the way I planed it in IE but not at all in Netscape

« previous php.general (#51508) next »