On Saturday 05 May 2001 08:24, Richard Kurth wrote:

> >> Method Not Allowed
> >> The requested method POST is not allowed for the URL
> >> /scripts/index.html.
> >>
> >><form method="post" action="">
>
> Chris> Presumably because the action attribute needs to have a value.
> >Since your HTML 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="">

That's exactly what he was saying. Change this to 
<form method="post" action="index.html">

> <input type="hidden" name="action" value="check"> <-- Action is set

Who cares about some field named "action"? The problem is the "action" 
*attribute" of the <form> tag - the thing responsible for telling the 
browser where to send the data. You left that empty, the browser tries to 
send the data to "" -> kawoom

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"World domination. Fast." (Linus Torvalds about Linux)

--
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