Thanks for the message. Actually I tried only html files in the beginning.
Let me explain my problem.
I want to open a new window in a link with a function as
function newwindow()
{
window.open("/home.php?userid=user1","Homepage");
}
when I click the link
now the address bar has the following address
http://localhost/home.php?userid=user1
How can I remove the "?userid=user1" in the address bar.
I used method = POST for a button to go to new page. That worked well. So
with a link how can I achieve this.
-Murugesan
----- Original Message -----
From: "David Otton" <[EMAIL PROTECTED]>
To: "murugesan" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 13, 2003 3:48 PM
Subject: Re: [PHP] how to change index.php?passwd to index.php in the
address bar
> 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.
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php