Re: how to change index.php?passwd to index.php in the address bar
| From: | David Otton | Date: | Wed, 13 Aug 2003 10:18:07 +0000 |
| Subject: | Re: how to change index.php?passwd to index.php in the address bar | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159416@lists.php.net to get a copy of this message | ||
On Wed, 13 Aug 2003 14:18:13 +0530, you wrote:
In your first post you say
> When go to a new page from login page the address bar has
>localhost/regsuccess.php?password="ASD"
But in your second,
>Method Not Allowed
>The requested method POST is not allowed for the URL /products.html.
> Apache/1.3.19 Server at localhost
>Any one is there to reaolve my problem
These are different files (regsuccess.php and products.html). It sounds like
the action attribute on your form is pointing to the wrong place. By default
Apache won't let HTML files deal with POST data, for obvious reasons.