Hello Chris,

Friday, May 04, 2001, 10:40:12 PM, you wrote:

Chris> On 4 May 2001 21:48:46 -0700, Richard Kurth <[EMAIL PROTECTED]> 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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to